3
3
on : [push, pull_request]
4
4
5
5
jobs :
6
- ubuntu :
6
+ ubuntu-gcc :
7
7
runs-on : ubuntu-latest
8
8
steps :
9
9
- name : Checkout V
@@ -34,17 +34,17 @@ jobs:
34
34
- name : Compile gitly
35
35
run : |
36
36
cd gitly
37
- v .
37
+ v -cc gcc .
38
38
39
39
- name : Compile gitly with -autofree
40
40
run : |
41
41
cd gitly
42
- v -autofree .
42
+ v -cc gcc - autofree .
43
43
44
44
- name : Compile gitly with -prod
45
45
run : |
46
46
cd gitly
47
- v -prod .
47
+ v -cc gcc - prod .
48
48
49
49
- name : Compile CSS from SCSS files
50
50
uses : gha-utilities/sass-build@v0.4.11
@@ -55,14 +55,14 @@ jobs:
55
55
- name : Run all tests
56
56
run : |
57
57
cd gitly
58
- v -d use_openssl test .
58
+ v -cc gcc - d use_openssl test .
59
59
60
60
- name : Run tests/first_run.v
61
61
run : |
62
62
cd gitly
63
- v -g run tests/first_run.v
63
+ v -cc gcc - g run tests/first_run.v
64
64
65
- macos :
65
+ macos-clang :
66
66
runs-on : macos-latest
67
67
steps :
68
68
- name : Checkout V
@@ -92,15 +92,15 @@ jobs:
92
92
- name : Compile gitly
93
93
run : |
94
94
cd gitly
95
- v .
95
+ v -cc clang .
96
96
- name : Compile gitly with -autofree
97
97
run : |
98
98
cd gitly
99
- v -autofree .
99
+ v -cc clang - autofree .
100
100
- name : Compile gitly with -prod
101
101
run : |
102
102
cd gitly
103
- v -prod .
103
+ v -cc clang - prod .
104
104
- name : Compile CSS from SCSS files
105
105
uses : gha-utilities/sass-build@v0.4.11
106
106
with :
@@ -109,11 +109,11 @@ jobs:
109
109
- name : Run all tests
110
110
run : |
111
111
cd gitly
112
- v -d use_openssl test .
112
+ v -cc clang - d use_openssl test .
113
113
- name : Run tests/first_run.v
114
114
run : |
115
115
cd gitly
116
- v -g run tests/first_run.v
116
+ v -cc clang - g run tests/first_run.v
117
117
118
118
# windows-msvc:
119
119
# runs-on: windows-latest
@@ -180,12 +180,12 @@ jobs:
180
180
run : |
181
181
./make.bat -gcc
182
182
- name : Compile gitly
183
- run : .\v.exe gitly
183
+ run : .\v.exe -cc gcc gitly
184
184
185
185
ubuntu-tcc :
186
186
runs-on : ubuntu-latest
187
187
env :
188
- VFLAGS : -cc tcc -cflags -bt10
188
+ VFLAGS : -cc tcc -d no_backtrace -d no_segfault_handler
189
189
steps :
190
190
- name : Checkout V
191
191
uses : actions/checkout@v3
0 commit comments