Skip to content

Commit

Permalink
ci: add musl tests (#2102)
Browse files Browse the repository at this point in the history
  • Loading branch information
camshaft committed Mar 21, 2024
1 parent ac7bf90 commit d9c6bd6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,10 @@ jobs:
- rust: stable
os: ubuntu-latest
target: i686-unknown-linux-gnu
- rust: stable
os: ubuntu-latest
target: x86_64-unknown-linux-musl
args: --features aws-lc-bindgen
# test with different platform features
- rust: stable
os: ubuntu-latest
Expand Down Expand Up @@ -261,14 +265,14 @@ jobs:
uses: actions-rs/cargo@v1.0.3
with:
command: build
args: --tests ${{ matrix.exclude }} ${{ matrix.target != 'native' && format('--target {0}', matrix.target) || '' }}
args: --tests ${{ matrix.exclude }} ${{ matrix.target != 'native' && format('--target {0}', matrix.target) || '' }} ${{ matrix.args }}
use-cross: ${{ matrix.target != 'native' }}

- name: Run cargo test
uses: actions-rs/cargo@v1.0.3
with:
command: test
args: ${{ matrix.exclude }} ${{ matrix.target != 'native' && format('--target {0}', matrix.target) || '' }}
args: ${{ matrix.exclude }} ${{ matrix.target != 'native' && format('--target {0}', matrix.target) || '' }} ${{ matrix.args }}
use-cross: ${{ matrix.target != 'native' }}

miri:
Expand Down
1 change: 1 addition & 0 deletions quic/s2n-quic-crypto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ exclude = ["corpus.tar.gz"]

[features]
default = []
aws-lc-bindgen = ["aws-lc-rs/bindgen"]
testing = []

[dependencies]
Expand Down

0 comments on commit d9c6bd6

Please sign in to comment.