diff options
-rw-r--r-- | .github/workflows/tests.yaml | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index cf47440..c02a77b 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -3,6 +3,8 @@ on: push: branches: [main] pull_request: {} +env: + RUST_BACKTRACE: 1 jobs: build: runs-on: ubuntu-latest @@ -13,7 +15,6 @@ jobs: build-musl: runs-on: ubuntu-latest steps: - # ring only supports building with clang under musl - run: sudo apt-get install clang-11 - uses: actions/checkout@v3 - uses: dtolnay/rust-toolchain@stable @@ -32,6 +33,15 @@ jobs: - uses: actions/checkout@v3 - uses: dtolnay/rust-toolchain@stable - run: cargo test + test-musl: + runs-on: ubuntu-latest + steps: + - run: sudo apt-get install clang-11 + - uses: actions/checkout@v3 + - uses: dtolnay/rust-toolchain@stable + with: + targets: x86_64-unknown-linux-musl + - run: TARGET_CC=clang-11 TARGET_AR=llvm-ar-11 cargo test --target x86_64-unknown-linux-musl test-macos: runs-on: macos-latest steps: |