Skip to content

Commit 8448b49

Browse files
committed
Update CI
1 parent 442a4f1 commit 8448b49

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ jobs:
2020
with:
2121
components: clippy, rustfmt
2222

23+
- name: Install Boost
24+
run: sudo apt-get update && sudo apt-get install -y libboost-all-dev
25+
2326
- uses: Swatinem/rust-cache@v2
2427

2528
- name: Clippy (default features)
@@ -45,6 +48,21 @@ jobs:
4548
- name: Install Rust
4649
uses: dtolnay/rust-toolchain@stable
4750

51+
- name: Install Boost (Ubuntu)
52+
if: matrix.os == 'ubuntu-latest'
53+
run: sudo apt-get update && sudo apt-get install -y libboost-all-dev
54+
55+
- name: Install Boost (macOS)
56+
if: matrix.os == 'macOS-latest'
57+
run: brew install boost
58+
59+
- name: Install Boost (Windows)
60+
if: matrix.os == 'windows-latest'
61+
uses: run-vcpkg/vcpkg-action@v11
62+
with:
63+
vcpkgGitCommitId: 5b1214315250939257ef5d62ecdcbca18cf4fb1c
64+
vcpkgPackages: boost
65+
4866
- uses: Swatinem/rust-cache@v2
4967

5068
- name: Test default features

0 commit comments

Comments
 (0)