From 35eb6832949e902e6a64e757f3f37361f9a68227 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sun, 6 Aug 2023 19:56:26 -0400 Subject: actions updates --- .github/workflows/tests.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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: -- cgit v1.2.3-54-g00ecf