@@ -101,11 +101,11 @@ jobs:
101
101
- os : macOS-latest
102
102
steps :
103
103
- uses : actions/checkout@v2
104
- - name : Install Mac System dependencies
104
+ - name : Install Boost on Mac
105
105
if : startsWith(matrix.os,'macOS')
106
106
run : |
107
107
brew install boost
108
- - name : Install Linux dependencies
108
+ - name : Install Boost on Linux
109
109
if : startsWith(matrix.os,'ubuntu')
110
110
run : |
111
111
sudo apt-get install -y libboost-all-dev
@@ -121,6 +121,36 @@ jobs:
121
121
run : cargo test --workspace --all-features --no-run --locked
122
122
- name : Run tests
123
123
run : cargo test --workspace --all-features --verbose
124
+
125
+ test-windows-latest :
126
+ runs-on : windows-latest
127
+ steps :
128
+ - uses : actions/checkout@v2
129
+ - name : Install Boost on Windows.
130
+ uses : MarkusJx/install-boost@v2.1.0
131
+ id : install-boost
132
+ with :
133
+ boost_version : 1.78.0
134
+ platform_version : 2019
135
+ - name : Install rust
136
+ uses : actions-rs/toolchain@v1
137
+ with :
138
+ profile : minimal
139
+ toolchain : stable
140
+ override : true
141
+ - name : Cache Dependencies
142
+ uses : Swatinem/rust-cache@v1
143
+ - name : Build
144
+ run : cargo test --workspace --all-features --no-run --locked
145
+ env :
146
+ BOOST_ROOT : ${{ steps.install-boost.outputs.BOOST_ROOT }}
147
+ Boost_NO_BOOST_CMAKE : ON
148
+ - name : Run tests
149
+ run : cargo test --workspace --all-features --verbose
150
+ env :
151
+ BOOST_ROOT : ${{ steps.install-boost.outputs.BOOST_ROOT }}
152
+ Boost_NO_BOOST_CMAKE : ON
153
+
124
154
125
155
wasm-test :
126
156
runs-on : ubuntu-latest
0 commit comments