Commit 8c7c8c0 1 parent 0a320ac commit 8c7c8c0 Copy full SHA for 8c7c8c0
File tree 1 file changed +54
-0
lines changed
1 file changed +54
-0
lines changed Original file line number Diff line number Diff line change 35
35
run : |
36
36
cargo test
37
37
38
+ build-test-win-ng :
39
+ # if: ${{ false }}
40
+ runs-on : windows-latest
41
+ steps :
42
+ - uses : actions/checkout@v1
43
+
44
+ - name : Install stable toolchain (windows)
45
+ uses : actions-rs/toolchain@v1
46
+ with :
47
+ profile : minimal
48
+ toolchain : stable
49
+ target : x86_64-pc-windows-gnu
50
+ override : true
51
+ - name : Setup (windows)
52
+ run : |
53
+ $env:PATH = "C:\msys64\mingw64\bin;C:\msys64\usr\bin;$env:PATH"
54
+ echo "PATH=${env:PATH}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
55
+ echo "CARGO_BUILD_TARGET=x86_64-pc-windows-gnu" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
56
+ - name : Build (windows)
57
+ run : |
58
+ cargo clean
59
+ cargo build --no-default-features --features quickjs-ng
60
+ - name : Test (windows)
61
+ run : |
62
+ cargo test --no-default-features --features quickjs-ng
63
+
38
64
build-test-msvc :
39
65
# if: ${{ false }}
40
66
runs-on : windows-latest
68
94
- name : Run tests
69
95
run : cargo test --verbose
70
96
97
+ build-test-mac-ng :
98
+ runs-on : macOs-latest
99
+ steps :
100
+ - uses : actions/checkout@v3
101
+ - name : Build
102
+ run : cargo build --no-default-features --features quickjs-ng
103
+ - name : Run tests
104
+ run : cargo test --no-default-features --features quickjs-ng
105
+
106
+ build-test-ubuntu-ng :
107
+ runs-on : ubuntu-latest
108
+ steps :
109
+ - uses : actions/checkout@v2
110
+ - name : Prepare
111
+ run : |
112
+ sudo apt update
113
+ sudo apt install ccache llvm autoconf2.13 automake clang valgrind -y
114
+ - name : Build
115
+ run : |
116
+ export SHELL=/bin/bash
117
+ export CC=/usr/bin/clang
118
+ export CXX=/usr/bin/clang++
119
+ cargo clean
120
+ cargo build --no-default-features --features quickjs-ng
121
+ - name : Run tests
122
+ run : cargo test --no-default-features --features quickjs-ng
123
+
124
+
71
125
build :
72
126
runs-on : ubuntu-latest
73
127
steps :
You can’t perform that action at this time.
0 commit comments