@@ -49,30 +49,30 @@ jobs:
49
49
run : make
50
50
- name : check + tests
51
51
run : |
52
- make check
53
- make tests
54
- make misalign
55
- make tool
52
+ make check -j$(nproc)
53
+ make tests -j$(nproc)
54
+ make misalign -j$(nproc)
55
+ make tool -j$(nproc)
56
56
- name : diverse configurations
57
57
run : |
58
- make distclean ENABLE_EXT_M=0 check
59
- make distclean ENABLE_EXT_A=0 check
60
- make distclean ENABLE_EXT_F=0 check
61
- make distclean ENABLE_EXT_C=0 check
62
- make distclean ENABLE_SDL=0 check
58
+ make distclean && make ENABLE_EXT_M=0 check -j$(nproc)
59
+ make distclean && make ENABLE_EXT_A=0 check -j$(nproc)
60
+ make distclean && make ENABLE_EXT_F=0 check -j$(nproc)
61
+ make distclean && make ENABLE_EXT_C=0 check -j$(nproc)
62
+ make distclean && make ENABLE_SDL=0 check -j$(nproc)
63
63
- name : gdbstub test
64
64
run : |
65
65
make distclean ENABLE_GDBSTUB=1 gdbstub-test
66
66
- name : JIT test
67
67
run : |
68
- make ENABLE_JIT=1 clean check
69
- make ENABLE_EXT_A=0 ENABLE_JIT=1 clean check
70
- make ENABLE_EXT_F=0 ENABLE_JIT=1 clean check
71
- make ENABLE_EXT_C=0 ENABLE_JIT=1 clean check
68
+ make clean && make ENABLE_JIT=1 check -j$(nproc)
69
+ make clean && make ENABLE_EXT_A=0 ENABLE_JIT=1 check -j$(nproc)
70
+ make clean && make ENABLE_EXT_F=0 ENABLE_JIT=1 check -j$(nproc)
71
+ make clean && make ENABLE_EXT_C=0 ENABLE_JIT=1 check -j$(nproc)
72
72
- name : undefined behavior test
73
73
run : |
74
- make ENABLE_UBSAN=1 clean check
75
- make ENABLE_JIT=1 ENABLE_UBSAN=1 clean check
74
+ make clean && make ENABLE_UBSAN=1 check -j$(nproc)
75
+ make clean && make ENABLE_JIT=1 ENABLE_UBSAN=1 check -j$(nproc)
76
76
77
77
host-arm64 :
78
78
needs : [detect-code-related-file-changes]
@@ -97,12 +97,12 @@ jobs:
97
97
git config --global --add safe.directory ${{ github.workspace }}/src/mini-gdbstub
98
98
# Append custom commands here
99
99
run : |
100
- make
101
- make check
102
- make ENABLE_JIT=1 clean check
103
- make ENABLE_EXT_A=0 ENABLE_JIT=1 clean check
104
- make ENABLE_EXT_F=0 ENABLE_JIT=1 clean check
105
- make ENABLE_EXT_C=0 ENABLE_JIT=1 clean check
100
+ make -j$(nproc)
101
+ make check -j$(nproc)
102
+ make clean && make ENABLE_JIT=1 check -j$(nproc)
103
+ make clean && make ENABLE_EXT_A=0 ENABLE_JIT=1 check -j$(nproc)
104
+ make clean && make ENABLE_EXT_F=0 ENABLE_JIT=1 check -j$(nproc)
105
+ make clean && make ENABLE_EXT_C=0 ENABLE_JIT=1 check -j$(nproc)
106
106
107
107
coding-style :
108
108
needs : [detect-code-related-file-changes]
@@ -130,9 +130,9 @@ jobs:
130
130
sudo apt-get install -q -y clang clang-tools libsdl2-dev libsdl2-mixer-dev
131
131
shell : bash
132
132
- name : run scan-build without JIT
133
- run : make clean && make distclean && scan-build -v -o ~/scan-build --status-bugs --use-cc=clang --force-analyze-debug-code --show-description -analyzer-config stable-report-filename=true -enable-checker valist,nullability make ENABLE_EXT_F=0 ENABLE_SDL=0 ENABLE_JIT=0
133
+ run : make distclean && scan-build -v -o ~/scan-build --status-bugs --use-cc=clang --force-analyze-debug-code --show-description -analyzer-config stable-report-filename=true -enable-checker valist,nullability make ENABLE_EXT_F=0 ENABLE_SDL=0 ENABLE_JIT=0
134
134
- name : run scan-build with JIT
135
- run : make clean && make distclean && scan-build -v -o ~/scan-build --status-bugs --use-cc=clang --force-analyze-debug-code --show-description -analyzer-config stable-report-filename=true -enable-checker valist,nullability make ENABLE_EXT_F=0 ENABLE_SDL=0 ENABLE_JIT=1
135
+ run : make distclean && scan-build -v -o ~/scan-build --status-bugs --use-cc=clang --force-analyze-debug-code --show-description -analyzer-config stable-report-filename=true -enable-checker valist,nullability make ENABLE_EXT_F=0 ENABLE_SDL=0 ENABLE_JIT=1
136
136
137
137
compliance-test :
138
138
needs : [detect-code-related-file-changes]
0 commit comments