File tree Expand file tree Collapse file tree 1 file changed +40
-5
lines changed
Expand file tree Collapse file tree 1 file changed +40
-5
lines changed Original file line number Diff line number Diff line change 3737 run : |
3838 cargo test
3939
40- build-test-msvc :
41- if : ${{ false }}
40+ build-test-win-ng :
41+ runs-on : windows-latest
42+ steps :
43+ - uses : actions/checkout@v1
44+
45+ - name : Install stable toolchain (windows)
46+ uses : actions-rs/toolchain@v1
47+ with :
48+ profile : minimal
49+ toolchain : stable
50+ target : x86_64-pc-windows-gnu
51+ override : true
52+
53+ - name : Setup (windows)
54+ run : |
55+ $env:PATH = "C:\msys64\mingw64\bin;C:\msys64\usr\bin;$env:PATH"
56+ echo "PATH=${env:PATH}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
57+ echo "CARGO_BUILD_TARGET=x86_64-pc-windows-gnu" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
58+
59+ - name : Build (windows)
60+ run : |
61+ cargo clean
62+ cargo build --no-default-features --features quickjs-ng
63+ - name : Test (windows)
64+ run : |
65+ cargo test --no-default-features --features quickjs-ng
66+
67+ build-test-win-msvc-ng :
4268 runs-on : windows-latest
4369 steps :
4470 - uses : actions/checkout@v1
6995 steps :
7096 - uses : actions/checkout@v3
7197 - name : Build
72- run : cargo build --verbose
98+ run : cargo build
7399 - name : Run tests
74- run : cargo test --verbose
100+ run : cargo test
101+
102+ build-test-mac-ng :
103+ runs-on : macOS-latest
104+ steps :
105+ - uses : actions/checkout@v3
106+ - name : Build
107+ run : cargo build --no-default-features --features quickjs-ng
108+ - name : Run tests
109+ run : cargo test --no-default-features --features quickjs-ng
75110
76111 build-ubuntu-quickjs-ng :
77112 runs-on : ubuntu-latest
82117 sudo apt update
83118 sudo apt install llvm autoconf2.13 automake clang -y
84119 - name : Run tests
85- run : cargo test --verbose -- no-default-features --features "quickjs-ng console setimmediate setinterval settimeout typescript"
120+ run : cargo test --no-default-features --features "quickjs-ng console setimmediate setinterval settimeout typescript"
86121
87122 build :
88123 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments