ci: enable v to js, build-examples, v doctor, build-vbinaries, self-compilation on all windows CI (#8739)
parent
a9c2045dbd
commit
94acc27ee6
|
@ -567,9 +567,9 @@ jobs:
|
||||||
VFLAGS: -cc gcc
|
VFLAGS: -cc gcc
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
#- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v1
|
||||||
# with:
|
with:
|
||||||
# node-version: 12.x
|
node-version: 12.x
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
gcc --version
|
gcc --version
|
||||||
|
@ -581,6 +581,9 @@ jobs:
|
||||||
.\v.exe setup-freetype
|
.\v.exe setup-freetype
|
||||||
.\.github\workflows\windows-install-sqlite.bat
|
.\.github\workflows\windows-install-sqlite.bat
|
||||||
## .\.github\workflows\windows-install-sdl.bat
|
## .\.github\workflows\windows-install-sdl.bat
|
||||||
|
- name: v doctor
|
||||||
|
run: |
|
||||||
|
./v doctor
|
||||||
- name: Verify `v test` works
|
- name: Verify `v test` works
|
||||||
run: |
|
run: |
|
||||||
./v cmd/tools/test_if_v_test_system_works.v
|
./v cmd/tools/test_if_v_test_system_works.v
|
||||||
|
@ -588,14 +591,15 @@ jobs:
|
||||||
- name: Self tests
|
- name: Self tests
|
||||||
run: |
|
run: |
|
||||||
.\v.exe -silent test-self
|
.\v.exe -silent test-self
|
||||||
# - name: Test
|
# - name: Test
|
||||||
# run: |
|
# run: |
|
||||||
# .\v.exe -silent test-all
|
# .\v.exe -silent test-all
|
||||||
## v.js dosent work on windows
|
- name: Test v->js
|
||||||
#.\v.exe -o hi.js examples/hello_v_js.v
|
run: ./v -o hi.js examples/hello_v_js.v && node hi.js
|
||||||
#node hi.js
|
|
||||||
- name: Test v binaries
|
- name: Test v binaries
|
||||||
run: ./v build-vbinaries
|
run: ./v build-vbinaries
|
||||||
|
- name: Build examples
|
||||||
|
run: ./v build-examples
|
||||||
- name: v2 self compilation
|
- name: v2 self compilation
|
||||||
run: .\v.exe -o v2.exe cmd/v && .\v2.exe -o v3.exe cmd/v
|
run: .\v.exe -o v2.exe cmd/v && .\v2.exe -o v3.exe cmd/v
|
||||||
|
|
||||||
|
@ -606,9 +610,9 @@ jobs:
|
||||||
VFLAGS: -cc msvc
|
VFLAGS: -cc msvc
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
#- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v1
|
||||||
# with:
|
with:
|
||||||
# node-version: 12.x
|
node-version: 12.x
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
echo %VFLAGS%
|
echo %VFLAGS%
|
||||||
|
@ -631,16 +635,17 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
./v -cg cmd\tools\vtest-self.v
|
./v -cg cmd\tools\vtest-self.v
|
||||||
./v -silent test-self
|
./v -silent test-self
|
||||||
- name: Build examples
|
|
||||||
run: ./v build-examples
|
|
||||||
# - name: Test
|
# - name: Test
|
||||||
# run: |
|
# run: |
|
||||||
# .\v.exe -silent test-all
|
# .\v.exe -silent test-all
|
||||||
# ## v.js dosent work on windows
|
- name: Test v->js
|
||||||
#.\v.exe -o hi.js examples/hello_v_js.v
|
run: ./v -o hi.js examples/hello_v_js.v && node hi.js
|
||||||
#node hi.js
|
- name: Test v binaries
|
||||||
# - name: Test v binaries
|
run: ./v build-vbinaries
|
||||||
# run: ./v build-vbinaries
|
- name: Build examples
|
||||||
|
run: ./v build-examples
|
||||||
|
- name: v2 self compilation
|
||||||
|
run: .\v.exe -o v2.exe cmd/v && .\v2.exe -o v3.exe cmd/v
|
||||||
|
|
||||||
windows-tcc:
|
windows-tcc:
|
||||||
runs-on: windows-2019
|
runs-on: windows-2019
|
||||||
|
@ -649,6 +654,9 @@ jobs:
|
||||||
VFLAGS: -cc tcc -no-retry-compilation
|
VFLAGS: -cc tcc -no-retry-compilation
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
- uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: 12.x
|
||||||
- name: Build with make.bat -tcc
|
- name: Build with make.bat -tcc
|
||||||
run: |
|
run: |
|
||||||
.\make.bat -tcc
|
.\make.bat -tcc
|
||||||
|
@ -659,6 +667,9 @@ jobs:
|
||||||
.\v.exe setup-freetype
|
.\v.exe setup-freetype
|
||||||
.\.github\workflows\windows-install-sqlite.bat
|
.\.github\workflows\windows-install-sqlite.bat
|
||||||
## .\.github\workflows\windows-install-sdl.bat
|
## .\.github\workflows\windows-install-sdl.bat
|
||||||
|
- name: v doctor
|
||||||
|
run: |
|
||||||
|
./v doctor
|
||||||
- name: Verify `v test` works
|
- name: Verify `v test` works
|
||||||
run: |
|
run: |
|
||||||
.\v.exe cmd/tools/test_if_v_test_system_works.v
|
.\v.exe cmd/tools/test_if_v_test_system_works.v
|
||||||
|
@ -669,11 +680,10 @@ jobs:
|
||||||
# - name: Test
|
# - name: Test
|
||||||
# run: |
|
# run: |
|
||||||
# .\v.exe -silent test-all
|
# .\v.exe -silent test-all
|
||||||
## v.js dosent work on windows
|
- name: Test v->js
|
||||||
#.\v.exe -o hi.js examples/hello_v_js.v
|
run: ./v -o hi.js examples/hello_v_js.v && node hi.js
|
||||||
#node hi.js
|
- name: Test v binaries
|
||||||
# - name: Test v binaries
|
run: ./v build-vbinaries
|
||||||
# run: ./v build-vbinaries
|
|
||||||
- name: Build examples
|
- name: Build examples
|
||||||
run: ./v build-examples
|
run: ./v build-examples
|
||||||
- name: v2 self compilation
|
- name: v2 self compilation
|
||||||
|
|
Loading…
Reference in New Issue