about summary refs log tree commit diff
path: root/.github/workflows/stdarch.yml
diff options
context:
space:
mode:
authorAntoni Boucher <bouanto@zoho.com>2024-07-02 12:40:16 -0400
committerAntoni Boucher <bouanto@zoho.com>2024-07-02 12:40:16 -0400
commit05a41b88a90b1a9775e565a1551df49042f6affc (patch)
tree7cd581baca66ca46a4fb955ef6dafcb505185fa3 /.github/workflows/stdarch.yml
parentee41c1904a39d485b11672064f67ffe0236105fc (diff)
parent173773e4b473e6d0ec583328e37a6148fa0bb9fa (diff)
Merge branch 'master' into sync_from_rust_2024_07_02
Diffstat (limited to '.github/workflows/stdarch.yml')
-rw-r--r--.github/workflows/stdarch.yml8
1 files changed, 3 insertions, 5 deletions
diff --git a/.github/workflows/stdarch.yml b/.github/workflows/stdarch.yml
index 41a9318007f..20341ae53d7 100644
--- a/.github/workflows/stdarch.yml
+++ b/.github/workflows/stdarch.yml
@@ -58,7 +58,7 @@ jobs:
     - name: Build
       run: |
         ./y.sh prepare --only-libcore
-        ./y.sh build --release --release-sysroot
+        ./y.sh build --sysroot --release --release-sysroot
 
     - name: Set env (part 2)
       run: |
@@ -89,12 +89,10 @@ jobs:
     - name: Run stdarch tests
       if: ${{ !matrix.cargo_runner }}
       run: |
-        cd build_sysroot/sysroot_src/library/stdarch/
-        CHANNEL=release TARGET=x86_64-unknown-linux-gnu CG_RUSTFLAGS="-Ainternal_features" ../../../../y.sh cargo test
+        CHANNEL=release TARGET=x86_64-unknown-linux-gnu CG_RUSTFLAGS="-Ainternal_features" ./y.sh cargo test --manifest-path build/build_sysroot/sysroot_src/library/stdarch/Cargo.toml
 
     - name: Run stdarch tests
       if: ${{ matrix.cargo_runner }}
       run: |
-        cd build_sysroot/sysroot_src/library/stdarch/
         # FIXME: these tests fail when the sysroot is compiled with LTO because of a missing symbol in proc-macro.
-        STDARCH_TEST_EVERYTHING=1 CHANNEL=release CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUNNER="${{ matrix.cargo_runner }}" TARGET=x86_64-unknown-linux-gnu CG_RUSTFLAGS="-Ainternal_features" ../../../../y.sh cargo test -- --skip rtm --skip tbm --skip sse4a
+        STDARCH_TEST_EVERYTHING=1 CHANNEL=release CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUNNER="${{ matrix.cargo_runner }}" TARGET=x86_64-unknown-linux-gnu CG_RUSTFLAGS="-Ainternal_features" ./y.sh cargo test --manifest-path build/build_sysroot/sysroot_src/library/stdarch/Cargo.toml -- --skip rtm --skip tbm --skip sse4a