Skip to content

Commit c5b9a7a

Browse files
authored
Merge pull request rust-lang#193 from GuillaumeGomez/ci-parallel
Parallelize CI
2 parents 78e4713 + 18350b7 commit c5b9a7a

File tree

1 file changed

+9
-18
lines changed

1 file changed

+9
-18
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@ jobs:
1919
- { gcc: "libgccjit.so", extra: "" }
2020
- { gcc: "libgccjit_without_int128.so", extra: "" }
2121
- { gcc: "libgccjit12.so", extra: "--no-default-features" }
22+
commands: [
23+
"--mini-tests",
24+
"--std-tests",
25+
"--test-libcore",
26+
"--extended-tests",
27+
"--test-rustc",
28+
]
2229

2330
steps:
2431
- uses: actions/checkout@v2
@@ -104,25 +111,9 @@ jobs:
104111
command: build
105112
args: --release
106113

107-
- name: Test mini_tests
114+
- name: Run tests
108115
run: |
109-
./test.sh --release --clean --build-sysroot --mini-tests ${{ matrix.libgccjit_version.extra }}
110-
111-
- name: Test std_tests
112-
run: |
113-
./test.sh --release --std-tests ${{ matrix.libgccjit_version.extra }}
114-
115-
- name: Test test_libcore
116-
run: |
117-
./test.sh --release --test-libcore ${{ matrix.libgccjit_version.extra }}
118-
119-
- name: Test extended_sysroot_tests
120-
run: |
121-
./test.sh --release --extended-tests ${{ matrix.libgccjit_version.extra }}
122-
123-
- name: Test test_rustc
124-
run: |
125-
./test.sh --release --test-rustc ${{ matrix.libgccjit_version.extra }}
116+
./test.sh --release --clean --build-sysroot ${{ matrix.commands }} ${{ matrix.libgccjit_version.extra }}
126117
127118
duplicates:
128119
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)