File tree Expand file tree Collapse file tree 1 file changed +40
-1
lines changed Expand file tree Collapse file tree 1 file changed +40
-1
lines changed Original file line number Diff line number Diff line change 6
6
7
7
jobs :
8
8
build :
9
- name : Build
9
+ name : Build Linux
10
10
runs-on : ubuntu-latest
11
11
steps :
12
12
- uses : actions/checkout@v2
17
17
- name : test
18
18
working-directory : tests
19
19
run : env METAMATH=../metamath ./run_test.sh *.in
20
+
21
+ build-win :
22
+ name : Build Windows (MSVC)
23
+ runs-on : windows-latest
24
+ steps :
25
+ - uses : actions/checkout@v2
26
+ - uses : ilammy/msvc-dev-cmd@v1
27
+
28
+ - name : build
29
+ working-directory : src
30
+ run : cl.exe *.c
31
+
32
+ - name : run
33
+ working-directory : src
34
+ run : ./metamath.exe
35
+
36
+ - name : test
37
+ working-directory : tests
38
+ shell : bash
39
+ run : env METAMATH=../src/metamath.exe ./run_test.sh *.in
40
+
41
+ build-win :
42
+ name : Build Windows (GCC)
43
+ runs-on : windows-latest
44
+ steps :
45
+ - uses : actions/checkout@v2
46
+
47
+ - name : build
48
+ working-directory : src
49
+ run : gcc *.c -o metamath.exe
50
+
51
+ - name : run
52
+ working-directory : src
53
+ run : ./metamath.exe
54
+
55
+ - name : test
56
+ working-directory : tests
57
+ shell : bash
58
+ run : env METAMATH=../src/metamath.exe ./run_test.sh *.in
You can’t perform that action at this time.
0 commit comments