diff options
author | Jesse Luehrs <doy@tozt.net> | 2023-07-29 16:00:37 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2023-07-29 16:00:37 -0400 |
commit | e6edff6490733d2ef788cf6205ba99a052ea5d6a (patch) | |
tree | f4aae6904504b190ed0a4a87fc51e3e35571f92e | |
parent | 5c582db1d7d74d958e7ed54109f3db8fec949250 (diff) | |
download | rbw-e6edff6490733d2ef788cf6205ba99a052ea5d6a.tar.gz rbw-e6edff6490733d2ef788cf6205ba99a052ea5d6a.zip |
tweak env vars some more
-rw-r--r-- | .github/workflows/tests.yaml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 1412593..9ffebeb 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -18,14 +18,16 @@ jobs: build-musl: runs-on: ubuntu-latest steps: - - run: sudo apt-get install musl-dev clang-11 llvm-11 + # ring only supports building with clang under musl + - run: sudo apt-get install clang-11 + - run: echo "export TARGET_CC=clang-11" >> "$GITHUB_ENV" + - run: echo "export TARGET_AR=llvm-ar-11" >> "$GITHUB_ENV" + - uses: actions/checkout@v3 - uses: actions-rs/toolchain@v1 with: toolchain: stable target: x86_64-unknown-linux-musl - - run: echo "export CC_x86_64_unknown_linux_musl=clang-11" >> "$GITHUB_ENV" - - run: echo "export AR_x86_64_unknown_linux_musl=llvm-ar-11" >> "$GITHUB_ENV" - uses: actions-rs/cargo@v1 with: command: build |