@@ -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,37 @@ 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
+ toolset : msvc
136
+ - name : Install rust
137
+ uses : actions-rs/toolchain@v1
138
+ with :
139
+ profile : minimal
140
+ toolchain : stable
141
+ override : true
142
+ - name : Cache Dependencies
143
+ uses : Swatinem/rust-cache@v1
144
+ - name : Build
145
+ run : cargo test --workspace --all-features --no-run --locked
146
+ env :
147
+ BOOST_ROOT : ${{ steps.install-boost.outputs.BOOST_ROOT }}
148
+ Boost_NO_BOOST_CMAKE : ON
149
+ - name : Run tests
150
+ run : cargo test --workspace --all-features --verbose
151
+ env :
152
+ BOOST_ROOT : ${{ steps.install-boost.outputs.BOOST_ROOT }}
153
+ Boost_NO_BOOST_CMAKE : ON
154
+
124
155
125
156
wasm-test :
126
157
runs-on : ubuntu-latest
0 commit comments