Skip to content

Commit

Permalink
Run CI against Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Y-Nak committed Feb 7, 2022
1 parent c149e5d commit 9da108a
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,16 +99,14 @@ jobs:
include:
- os: ubuntu-latest
- os: macOS-latest
- os: windows-latest
steps:
- uses: actions/checkout@v2
- name: Install Mac System dependencies
if: startsWith(matrix.os,'macOS')
run: |
brew install boost
- name: Install Linux dependencies
if: startsWith(matrix.os,'ubuntu')
run: |
sudo apt-get install -y libboost-all-dev
- name: Install boost
id: install-boost
uses: MarkusJx/install-boost@v2.1.0
with:
boost_version: 1.78.0
- name: Install rust
uses: actions-rs/toolchain@v1
with:
Expand All @@ -119,8 +117,14 @@ jobs:
uses: Swatinem/rust-cache@v1
- name: Build
run: cargo test --workspace --all-features --no-run --locked
env:
BOOST_ROOT: ${{ steps.install-boost.outputs.BOOST_ROOT }}
Boost_NO_BOOST_CMAKE: ON
- name: Run tests
run: cargo test --workspace --all-features --verbose
env:
BOOST_ROOT: ${{ steps.install-boost.outputs.BOOST_ROOT }}
Boost_NO_BOOST_CMAKE: ON

wasm-test:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 9da108a

Please sign in to comment.