From 8dc48f9f5a1ffd94e2396afe632e3b7750b50ecf Mon Sep 17 00:00:00 2001 From: Cameron Bytheway Date: Tue, 23 Jan 2024 10:13:59 -0700 Subject: [PATCH] ci: add musl tests --- .github/workflows/ci.yml | 8 ++++++-- quic/s2n-quic-crypto/Cargo.toml | 1 + 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 66a08df3f9..701e4130f6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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: diff --git a/quic/s2n-quic-crypto/Cargo.toml b/quic/s2n-quic-crypto/Cargo.toml index 21ca6ee6c2..bb3b0ad30f 100644 --- a/quic/s2n-quic-crypto/Cargo.toml +++ b/quic/s2n-quic-crypto/Cargo.toml @@ -12,6 +12,7 @@ exclude = ["corpus.tar.gz"] [features] default = [] +aws-lc-bindgen = ["aws-lc-rs/bindgen"] testing = [] [dependencies]