diff options
| author | Aleksey Kladov <aleksey.kladov@gmail.com> | 2021-10-31 13:07:30 +0300 |
|---|---|---|
| committer | Aleksey Kladov <aleksey.kladov@gmail.com> | 2021-10-31 13:16:36 +0300 |
| commit | 045be6545f5fcd86dba506b168cf8e00446d54f5 (patch) | |
| tree | 60c77c11e57ef7457b03adb421973083f0d92b5c | |
| parent | a4b40e60cbf9b0eacf238622e2f28c1cf57cb6ed (diff) | |
| download | rust-045be6545f5fcd86dba506b168cf8e00446d54f5.tar.gz rust-045be6545f5fcd86dba506b168cf8e00446d54f5.zip | |
minor: group -gnu builders together
| -rw-r--r-- | .github/workflows/release.yaml | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index eee66c25ff5..f0ff7d71fc7 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -123,36 +123,6 @@ jobs: name: dist-x86_64-unknown-linux-gnu path: ./dist - dist-x86_64-unknown-linux-musl: - name: dist (x86_64-unknown-linux-musl) - runs-on: ubuntu-latest - env: - RA_TARGET: x86_64-unknown-linux-musl - # For some reason `-crt-static` is not working for clang without lld - RUSTFLAGS: "-C link-arg=-fuse-ld=lld -C target-feature=-crt-static" - container: - image: rust:alpine - volumes: - - /usr/local/cargo/registry - - steps: - - name: Install dependencies - run: apk add --no-cache git clang lld musl-dev - - - name: Checkout repository - uses: actions/checkout@v2 - with: - fetch-depth: ${{ env.FETCH_DEPTH }} - - - name: Dist - run: cargo xtask dist - - - name: Upload artifacts - uses: actions/upload-artifact@v1 - with: - name: dist-x86_64-unknown-linux-musl - path: ./dist - dist-aarch64-unknown-linux-gnu: name: dist (aarch64-unknown-linux-gnu) runs-on: ubuntu-20.04 @@ -189,6 +159,36 @@ jobs: name: dist-aarch64-unknown-linux-gnu path: ./dist + dist-x86_64-unknown-linux-musl: + name: dist (x86_64-unknown-linux-musl) + runs-on: ubuntu-latest + env: + RA_TARGET: x86_64-unknown-linux-musl + # For some reason `-crt-static` is not working for clang without lld + RUSTFLAGS: "-C link-arg=-fuse-ld=lld -C target-feature=-crt-static" + container: + image: rust:alpine + volumes: + - /usr/local/cargo/registry + + steps: + - name: Install dependencies + run: apk add --no-cache git clang lld musl-dev + + - name: Checkout repository + uses: actions/checkout@v2 + with: + fetch-depth: ${{ env.FETCH_DEPTH }} + + - name: Dist + run: cargo xtask dist + + - name: Upload artifacts + uses: actions/upload-artifact@v1 + with: + name: dist-x86_64-unknown-linux-musl + path: ./dist + dist-x86_64-apple-darwin: name: dist (x86_64-apple-darwin) runs-on: macos-latest |
