Skip to content

Commit

Permalink
ci: change release strategy to cover major linux distros
Browse files Browse the repository at this point in the history
  • Loading branch information
EduardoRodriguesF committed Aug 5, 2023
1 parent f1793ab commit 6e4830b
Showing 1 changed file with 19 additions and 9 deletions.
28 changes: 19 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,23 +103,33 @@ jobs:
strategy:
fail-fast: false
matrix:
build: [linux, linux-arm, macos, macos-arm]
build: [linux-gnu, linux-gnu-aarch, linux-musl, linux-musl-aarch, macos, macos-arm]
include:
- build: linux
# Linux GNU
- build: linux-gnu
os: ubuntu-latest
target: x86_64-unknown-linux-gnu

- build: linux-gnu-aarch
os: ubuntu-latest
target: aarch64-unknown-linux-gnu

# Linux MUSL
- build: linux-musl
os: ubuntu-latest
rust: stable
target: x86_64-unknown-linux-musl
- build: linux-arm

- build: linux-musl-aarch
os: ubuntu-latest
rust: stable
target: arm-unknown-linux-gnueabihf
target: aarch64-unknown-linux-musl

# MacOS
- build: macos
os: macos-latest
rust: stable
target: x86_64-apple-darwin

- build: macos-arm
os: macos-latest
rust: stable
target: aarch64-apple-darwin
steps:
- uses: actions/checkout@v3
Expand All @@ -131,7 +141,7 @@ jobs:
- name: Install Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
toolchain: stable
target: ${{ matrix.target }}
- name: Use Cross
shell: bash
Expand Down

0 comments on commit 6e4830b

Please sign in to comment.