Skip to content

Commit

Permalink
actions updates
Browse files Browse the repository at this point in the history
  • Loading branch information
doy committed Aug 6, 2023
1 parent 0101d34 commit 35eb683
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ on:
push:
branches: [main]
pull_request: {}
env:
RUST_BACKTRACE: 1
jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit 35eb683

Please sign in to comment.