Skip to content

Commit 7b0afc0

Browse files
committed
work on workflows
1 parent 20670e4 commit 7b0afc0

File tree

1 file changed

+18
-16
lines changed

1 file changed

+18
-16
lines changed

.github/workflows/ci.yml

+18-16
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,24 @@ on:
1717
jobs:
1818
linux:
1919
runs-on: ubuntu-latest
20+
strategy:
21+
fail-fast: false
2022
steps:
2123
- uses: actions/checkout@v3
24+
with:
25+
submodules: true
2226
- name: build
2327
run: |
2428
make -j$(getconf _NPROCESSORS_ONLN) CONFIG_WERROR=y
2529
- name: stats
2630
run: |
27-
make CONFIG_WERROR=y qjs
2831
./qjs -qd
2932
- name: test
3033
run: |
31-
make CONFIG_WERROR=y test
34+
make test
3235
- name: microbench
3336
run: |
34-
make CONFIG_WERROR=y microbench
37+
make microbench
3538
3639
linux-asan:
3740
runs-on: ubuntu-latest
@@ -41,12 +44,12 @@ jobs:
4144
submodules: true
4245
- name: build
4346
run: |
44-
make -j$(getconf _NPROCESSORS_ONLN) CONFIG_WERROR=y CONFIG_ASAN=ON
47+
make -j$(getconf _NPROCESSORS_ONLN) CONFIG_WERROR=y CONFIG_ASAN=y
4548
- name: test
4649
env:
4750
ASAN_OPTIONS: halt_on_error=1
4851
run: |
49-
make CONFIG_ASAN=ON test
52+
make CONFIG_ASAN=y test
5053
5154
linux-msan:
5255
runs-on: ubuntu-latest
@@ -58,12 +61,12 @@ jobs:
5861
env:
5962
CC: clang
6063
run: |
61-
make CONFIG_MSAN=ON CONFIG_CLANG=y
64+
make -j$(getconf _NPROCESSORS_ONLN) CONFIG_WERROR=y CONFIG_MSAN=y CONFIG_CLANG=y
6265
- name: test
6366
env:
6467
MSAN_OPTIONS: halt_on_error=1
6568
run: |
66-
make CONFIG_MSAN=ON CONFIG_CLANG=y test
69+
make CONFIG_MSAN=y CONFIG_CLANG=y test
6770
6871
linux-ubsan:
6972
runs-on: ubuntu-latest
@@ -73,12 +76,12 @@ jobs:
7376
submodules: true
7477
- name: build
7578
run: |
76-
make CONFIG_UBSAN=ON
79+
make -j$(getconf _NPROCESSORS_ONLN) CONFIG_WERROR=y CONFIG_UBSAN=y
7780
- name: test
7881
env:
7982
UBSAN_OPTIONS: halt_on_error=1
8083
run: |
81-
make CONFIG_UBSAN=ON test
84+
make CONFIG_UBSAN=y test
8285
8386
macos:
8487
runs-on: macos-latest
@@ -88,37 +91,36 @@ jobs:
8891
- uses: actions/checkout@v3
8992
- name: build
9093
run: |
91-
make -j$(getconf _NPROCESSORS_ONLN)
94+
make -j$(getconf _NPROCESSORS_ONLN) CONFIG_WERROR=y
9295
- name: stats
9396
run: |
94-
make CONFIG_WERROR=y qjs
9597
./qjs -qd
9698
- name: test
9799
run: |
98-
make CONFIG_WERROR=y test
100+
make test
99101
100102
macos-asan:
101103
runs-on: macos-latest
102104
steps:
103105
- uses: actions/checkout@v3
104106
- name: build
105107
run: |
106-
make -j$(getconf _NPROCESSORS_ONLN) CONFIG_ASAN=ON
108+
make -j$(getconf _NPROCESSORS_ONLN) CONFIG_WERROR=y CONFIG_ASAN=y
107109
- name: test
108110
env:
109111
ASAN_OPTIONS: halt_on_error=1
110112
run: |
111-
make CONFIG_ASAN=ON test
113+
make CONFIG_ASAN=y test
112114
113115
macos-ubsan:
114116
runs-on: macos-latest
115117
steps:
116118
- uses: actions/checkout@v3
117119
- name: build
118120
run: |
119-
make -j$(getconf _NPROCESSORS_ONLN) CONFIG_UBSAN=ON
121+
make -j$(getconf _NPROCESSORS_ONLN) CONFIG_WERROR=y CONFIG_UBSAN=y
120122
- name: test
121123
env:
122124
UBSAN_OPTIONS: halt_on_error=1
123125
run: |
124-
make CONFIG_UBSAN=ON test
126+
make CONFIG_UBSAN=y test

0 commit comments

Comments
 (0)