1
Fork 0
This commit is contained in:
Antoni Boucher 2023-11-18 10:56:00 -05:00
parent 4d8b25c395
commit a3b6444909
6 changed files with 19 additions and 10 deletions

View file

@ -101,7 +101,8 @@ jobs:
./y.sh prepare --only-libcore ./y.sh prepare --only-libcore
# TODO: remove --features master when it is back to the default. # TODO: remove --features master when it is back to the default.
./y.sh build --features master ./y.sh build --features master
cargo test # TODO: remove --features master when it is back to the default.
cargo test --features master
./clean_all.sh ./clean_all.sh
- name: Prepare dependencies - name: Prepare dependencies

View file

@ -21,11 +21,14 @@ jobs:
libgccjit_version: libgccjit_version:
- gcc: "libgccjit.so" - gcc: "libgccjit.so"
artifacts_branch: "master" artifacts_branch: "master"
# TODO: switch back to --no-default-features in the case of libgccjit 12 when the default is to enable
# master again.
extra: "--features master"
- gcc: "libgccjit_without_int128.so" - gcc: "libgccjit_without_int128.so"
artifacts_branch: "master-without-128bit-integers" artifacts_branch: "master-without-128bit-integers"
extra: "--features master"
- gcc: "libgccjit12.so" - gcc: "libgccjit12.so"
artifacts_branch: "gcc12" artifacts_branch: "gcc12"
extra: "--no-default-features"
# FIXME(antoyo): we need to set GCC_EXEC_PREFIX so that the linker can find the linker plugin. # FIXME(antoyo): we need to set GCC_EXEC_PREFIX so that the linker can find the linker plugin.
# Not sure why it's not found otherwise. # Not sure why it's not found otherwise.
env_extra: "TEST_FLAGS='-Cpanic=abort -Zpanic-abort-tests' GCC_EXEC_PREFIX=/usr/lib/gcc/" env_extra: "TEST_FLAGS='-Cpanic=abort -Zpanic-abort-tests' GCC_EXEC_PREFIX=/usr/lib/gcc/"
@ -125,6 +128,5 @@ jobs:
- name: Run tests - name: Run tests
id: tests id: tests
run: | run: |
# TODO: remove --features master when it is back to the default. ${{ matrix.libgccjit_version.env_extra }} ./test.sh --release --clean --build-sysroot --test-failing-rustc ${{ matrix.libgccjit_version.extra }} | tee output_log
${{ matrix.libgccjit_version.env_extra }} ./test.sh --release --features master --clean --build-sysroot --test-failing-rustc ${{ matrix.libgccjit_version.extra }} | tee output_log
rg --text "test result" output_log >> $GITHUB_STEP_SUMMARY rg --text "test result" output_log >> $GITHUB_STEP_SUMMARY

View file

@ -116,7 +116,8 @@ jobs:
./y.sh prepare --only-libcore --cross ./y.sh prepare --only-libcore --cross
# TODO: remove --features master when it is back to the default. # TODO: remove --features master when it is back to the default.
./y.sh build --target-triple m68k-unknown-linux-gnu --features master ./y.sh build --target-triple m68k-unknown-linux-gnu --features master
CG_GCC_TEST_TARGET=m68k-unknown-linux-gnu cargo test # TODO: remove --features master when it is back to the default.
CG_GCC_TEST_TARGET=m68k-unknown-linux-gnu cargo test --features master
./clean_all.sh ./clean_all.sh
- name: Prepare dependencies - name: Prepare dependencies

View file

@ -80,7 +80,8 @@ jobs:
./y.sh prepare --only-libcore ./y.sh prepare --only-libcore
# TODO: remove --features master when it is back to the default. # TODO: remove --features master when it is back to the default.
EMBED_LTO_BITCODE=1 ./y.sh build --release --release-sysroot --features master EMBED_LTO_BITCODE=1 ./y.sh build --release --release-sysroot --features master
cargo test # TODO: remove --features master when it is back to the default.
cargo test --features master
./clean_all.sh ./clean_all.sh
- name: Prepare dependencies - name: Prepare dependencies

View file

@ -92,9 +92,10 @@ jobs:
- name: Build - name: Build
run: | run: |
./y.sh prepare --only-libcore ./y.sh prepare --only-libcore
# TODO: remove --features master when it is back to the default. # TODO: remove `--features master` when it is back to the default.
./y.sh build --release --release-sysroot --features master ./y.sh build --release --release-sysroot --features master
cargo test # TODO: remove --features master when it is back to the default.
cargo test --features master
- name: Clean - name: Clean
if: ${{ !matrix.cargo_runner }} if: ${{ !matrix.cargo_runner }}
@ -112,12 +113,14 @@ jobs:
uses: actions-rs/cargo@v1.0.3 uses: actions-rs/cargo@v1.0.3
with: with:
command: build command: build
args: --release # TODO: remove `--features master` when it is back to the default.
args: --release --features master
- name: Run tests - name: Run tests
if: ${{ !matrix.cargo_runner }} if: ${{ !matrix.cargo_runner }}
run: | run: |
./test.sh --release --clean --release-sysroot --build-sysroot --mini-tests --std-tests --test-libcore # TODO: remove `--features master` when it is back to the default.
./test.sh --release --clean --release-sysroot --build-sysroot --mini-tests --std-tests --test-libcore --features master
- name: Run stdarch tests - name: Run stdarch tests
if: ${{ !matrix.cargo_runner }} if: ${{ !matrix.cargo_runner }}

View file

@ -39,3 +39,4 @@ tests/ui/sse2.rs
tests/ui/codegen/issue-79865-llvm-miscompile.rs tests/ui/codegen/issue-79865-llvm-miscompile.rs
tests/ui/intrinsics/intrinsics-integer.rs tests/ui/intrinsics/intrinsics-integer.rs
tests/ui/std-backtrace.rs tests/ui/std-backtrace.rs
tests/ui/mir/alignment/packed.rs