|
1 | | -name: CI Windows |
| 1 | +name: CI Windows GCC |
2 | 2 |
|
3 | 3 | on: |
4 | 4 | push: |
5 | 5 | paths-ignore: |
6 | 6 | - '**.md' |
7 | 7 | - '**.yml' |
8 | 8 | - '!**.bat' |
9 | | - - '!**/windows_ci.yml' |
| 9 | + - '!**/windows_ci_gcc.yml' |
10 | 10 | - 'cmd/tools/**' |
11 | 11 | - '!cmd/tools/builders/**.v' |
12 | 12 | pull_request: |
13 | 13 | paths-ignore: |
14 | 14 | - '**.md' |
15 | 15 | - '**.yml' |
16 | 16 | - '!**.bat' |
17 | | - - '!**/windows_ci.yml' |
| 17 | + - '!**/windows_ci_gcc.yml' |
18 | 18 | - '!**/windows-install-sqlite.bat' |
19 | 19 | - 'cmd/tools/**' |
20 | 20 | - '!cmd/tools/builders/**.v' |
|
91 | 91 | run: v -showcc -prod cmd/tools/vdoctor.v |
92 | 92 | - name: compile vup.v with -prod |
93 | 93 | run: v -showcc -prod cmd/tools/vup.v |
94 | | - |
95 | | - tcc-windows: |
96 | | - runs-on: windows-2022 |
97 | | - timeout-minutes: 60 |
98 | | - env: |
99 | | - VFLAGS: -cc tcc -no-retry-compilation |
100 | | - VTEST_SHOW_LONGEST_BY_RUNTIME: 3 |
101 | | - VTEST_SHOW_LONGEST_BY_COMPTIME: 3 |
102 | | - VTEST_SHOW_LONGEST_BY_TOTALTIME: 3 |
103 | | - steps: |
104 | | - - uses: actions/checkout@v6 |
105 | | - - name: Build with make.bat -tcc |
106 | | - run: | |
107 | | - .\make.bat -tcc |
108 | | - .\v.exe symlink |
109 | | - - name: All code is formatted |
110 | | - run: v -silent test-cleancode |
111 | | - - name: Test new v.c |
112 | | - run: | |
113 | | - v -o v.c cmd/v |
114 | | - .\thirdparty\tcc\tcc.exe -Werror -w -ladvapi32 -lws2_32 -bt10 v.c |
115 | | - - name: Install dependencies |
116 | | - run: | |
117 | | - v retry -- v setup-freetype |
118 | | - .\.github\workflows\windows-install-sqlite.bat |
119 | | - - name: v -g self |
120 | | - run: v -g self |
121 | | - - name: v doctor |
122 | | - run: | |
123 | | - v doctor |
124 | | - - name: Verify `v test` works |
125 | | - run: | |
126 | | - v cmd/tools/test_if_v_test_system_works.v |
127 | | - .\cmd\tools\test_if_v_test_system_works.exe |
128 | | - - name: Verify `v vlib/v/gen/c/coutput_test.v` works |
129 | | - run: v vlib/v/gen/c/coutput_test.v |
130 | | - - name: Make sure running TCC64 instead of TCC32 |
131 | | - run: v test .github\workflows\make_sure_ci_run_with_64bit_compiler_test.v |
132 | | - - name: Test ./v doc -v clipboard *BEFORE building tools* |
133 | | - run: v doc -v clipboard |
134 | | - - name: Test v build-tools |
135 | | - run: v -silent -W build-tools |
136 | | - - name: Test pure V math module |
137 | | - run: v -silent -exclude @vlib/math/*.c.v test vlib/math/ |
138 | | - - name: Self tests |
139 | | - run: v -silent test-self vlib |
140 | | - - name: Test v->js |
141 | | - run: v -o hi.js examples/js_hello_world.v && node hi.js |
142 | | - - name: Test v binaries |
143 | | - run: v build-vbinaries |
144 | | - - name: Build examples |
145 | | - run: v build-examples |
146 | | - - name: v2 self compilation |
147 | | - run: v -o v2.exe cmd/v && .\v2.exe -o v3.exe cmd/v && .\v3.exe -o v4.exe cmd/v |
0 commit comments