forked from awslabs/mls-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
25 lines (25 loc) · 922 Bytes
/
features.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name: Features
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
jobs:
BuildAndTest:
strategy:
matrix:
# XXX(RLB) According to the Github Runners repo, this should be the
# default, but without this line, we get "error: 'cryptokit-bridge':
# package 'cryptokit-bridge' is using Swift tools version 5.9.0 but the
# installed version is 5.7.1"
os: [ubuntu-latest, macos-14]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
save-if: ${{ github.ref == 'refs/heads/main' }}
- name: Install cargo-hack
run: cargo install cargo-hack
- name: Build one feature at a time
run: cargo hack build --each-feature --workspace --exclude harness_client --exclude mls-rs-crypto-awslc