Skip to content

Commit 4ef0d19

Browse files
Add --mini-tests option and run mini-tests in CI
1 parent 9a42e6b commit 4ef0d19

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,13 @@ jobs:
104104
command: build
105105
args: --release
106106

107+
- name: Test mini_tests
108+
run: |
109+
./test.sh --release --clean --build-sysroot --mini-tests ${{ matrix.libgccjit_version.extra }}
110+
107111
- name: Test std_tests
108112
run: |
109-
./test.sh --release --clean --build-sysroot --std-tests ${{ matrix.libgccjit_version.extra }}
113+
./test.sh --release --std-tests ${{ matrix.libgccjit_version.extra }}
110114
111115
- name: Test test_libcore
112116
run: |

test.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,10 @@ while [[ $# -gt 0 ]]; do
6969
funcs+=(extended_sysroot_tests)
7070
shift
7171
;;
72+
"--mini-tests")
73+
funcs+=(mini_tests)
74+
shift
75+
;;
7276

7377
"--build-sysroot")
7478
funcs+=(build_sysroot)

0 commit comments

Comments
 (0)