File tree Expand file tree Collapse file tree 1 file changed +60
-0
lines changed Expand file tree Collapse file tree 1 file changed +60
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Continous integration
2
+
3
+ on :
4
+ pull_request :
5
+ push :
6
+ branches :
7
+ - master
8
+ tags :
9
+ - " *"
10
+
11
+ jobs :
12
+ check_format :
13
+ runs-on : ubuntu-latest
14
+ steps :
15
+
16
+ - name : Install indent
17
+ run : sudo apt install indent
18
+ - name : Run format check
19
+ run : bash tools/check_format.sh
20
+
21
+ run_tests_unix :
22
+ needs : check_format
23
+ strategy :
24
+ matrix :
25
+ os :
26
+ - ubuntu-latest
27
+ - macos-latest
28
+ assembler :
29
+ - nasm
30
+ runs-on : ${{ matrix.os }}
31
+ steps :
32
+
33
+ - name : Install build dependencies (Linux)
34
+ run : sudo apt install ${{ matrix.assembler }}
35
+ if : runner.os == 'Linux'
36
+ - name : Install build dependencies (Macos)
37
+ run : brew install ${{ matrix.assembler }} automake autoconf coreutils
38
+ if : runner.os == 'macOS'
39
+ - name : Build
40
+ run : |
41
+ ./autogen.sh
42
+ ./configure
43
+ bash -c 'make -j $(nproc)'
44
+ - name : Run tests
45
+ run : bash tools/test_checks.sh
46
+ - name : Run extended tests
47
+ run : bash tools/test_extended.sh
48
+ if : runner.os == 'Linux' # Fails on Mac OS due to nmake consistency issue
49
+
50
+ run_tests_windows :
51
+ needs : check_format
52
+ runs-on : windows-latest
53
+ steps :
54
+
55
+ - name : Set MSVC developer prompt
56
+
57
+ - name : Install nasm
58
+
59
+ - name : Build
60
+ run : nmake -f Makefile.nmake
You can’t perform that action at this time.
0 commit comments