diff options
author | Jesse Luehrs <doy@tozt.net> | 2023-08-06 18:49:35 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2023-08-06 18:49:35 -0400 |
commit | 23e9cecddf662f303a52f613a9300d81d263678d (patch) | |
tree | 7e10afdf36b65fc0fe20d519f014ad3ce81f8cb3 | |
parent | 461ba4de3a9996506682351d127ee9e0eed79fb2 (diff) | |
download | pty-process-23e9cecddf662f303a52f613a9300d81d263678d.tar.gz pty-process-23e9cecddf662f303a52f613a9300d81d263678d.zip |
also test on musl
-rw-r--r-- | .github/workflows/tests.yaml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index cf47440..d981b19 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -13,7 +13,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 +31,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: |