diff options
author | Jesse Luehrs <doy@tozt.net> | 2023-08-06 19:56:26 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2023-08-06 19:56:26 -0400 |
commit | 35eb6832949e902e6a64e757f3f37361f9a68227 (patch) | |
tree | d8d78cabc8b86c1001b3bf9b9c086921bddc9b6d | |
parent | 0101d3403ff3fcf5d5ac03aa516f082e824e6feb (diff) | |
download | rbw-35eb6832949e902e6a64e757f3f37361f9a68227.tar.gz rbw-35eb6832949e902e6a64e757f3f37361f9a68227.zip |
actions updates
-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: |