minor: group -gnu builders together
This commit is contained in:
parent
a4b40e60cb
commit
045be6545f
60
.github/workflows/release.yaml
vendored
60
.github/workflows/release.yaml
vendored
@ -123,36 +123,6 @@ jobs:
|
|||||||
name: dist-x86_64-unknown-linux-gnu
|
name: dist-x86_64-unknown-linux-gnu
|
||||||
path: ./dist
|
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:
|
dist-aarch64-unknown-linux-gnu:
|
||||||
name: dist (aarch64-unknown-linux-gnu)
|
name: dist (aarch64-unknown-linux-gnu)
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
@ -189,6 +159,36 @@ jobs:
|
|||||||
name: dist-aarch64-unknown-linux-gnu
|
name: dist-aarch64-unknown-linux-gnu
|
||||||
path: ./dist
|
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:
|
dist-x86_64-apple-darwin:
|
||||||
name: dist (x86_64-apple-darwin)
|
name: dist (x86_64-apple-darwin)
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
|
Loading…
x
Reference in New Issue
Block a user