Merge pull request #193 from GuillaumeGomez/ci-parallel

Parallelize CI
This commit is contained in:
antoyo 2022-06-29 17:36:30 -04:00 committed by GitHub
commit c5b9a7a5a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,6 +19,13 @@ jobs:
- { gcc: "libgccjit.so", extra: "" }
- { gcc: "libgccjit_without_int128.so", extra: "" }
- { gcc: "libgccjit12.so", extra: "--no-default-features" }
commands: [
"--mini-tests",
"--std-tests",
"--test-libcore",
"--extended-tests",
"--test-rustc",
]
steps:
- uses: actions/checkout@v2
@ -104,25 +111,9 @@ jobs:
command: build
args: --release
- name: Test mini_tests
- name: Run tests
run: |
./test.sh --release --clean --build-sysroot --mini-tests ${{ matrix.libgccjit_version.extra }}
- name: Test std_tests
run: |
./test.sh --release --std-tests ${{ matrix.libgccjit_version.extra }}
- name: Test test_libcore
run: |
./test.sh --release --test-libcore ${{ matrix.libgccjit_version.extra }}
- name: Test extended_sysroot_tests
run: |
./test.sh --release --extended-tests ${{ matrix.libgccjit_version.extra }}
- name: Test test_rustc
run: |
./test.sh --release --test-rustc ${{ matrix.libgccjit_version.extra }}
./test.sh --release --clean --build-sysroot ${{ matrix.commands }} ${{ matrix.libgccjit_version.extra }}
duplicates:
runs-on: ubuntu-latest