Skip to content

Commit

Permalink
Build releases for more targets
Browse files Browse the repository at this point in the history
  • Loading branch information
EliahKagan committed Aug 12, 2024
1 parent 7c00d13 commit 260b613
Showing 1 changed file with 44 additions and 3 deletions.
47 changes: 44 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,21 +76,44 @@ jobs:
matrix:
target:
- x86_64-unknown-linux-musl
- x86_64-unknown-linux-gnu
- i686-unknown-linux-musl
- i686-unknown-linux-gnu
- aarch64-unknown-linux-musl
- aarch64-unknown-linux-gnu
- arm-unknown-linux-musleabihf
- arm-unknown-linux-gnueabihf
- s390x-unknown-linux-gnu
- x86_64-apple-darwin
- aarch64-apple-darwin
- x86_64-pc-windows-msvc
- x86_64-pc-windows-gnu
- i686-pc-windows-msvc
- i686-pc-windows-gnu
- aarch64-pc-windows-msvc
- aarch64-pc-windows-gnu
# When changing these features, make the same change in build-macos-universal2-release.
feature: [ small, lean, max, max-pure ]
include:
- rust: stable
- target: x86_64-unknown-linux-musl
os: ubuntu-latest
- target: x86_64-unknown-linux-gnu
os: ubuntu-latest
- target: i686-unknown-linux-musl
os: ubuntu-latest
- target: i686-unknown-linux-gnu
os: ubuntu-latest
- target: aarch64-unknown-linux-musl
os: ubuntu-latest
- target: aarch64-unknown-linux-gnu
os: ubuntu-latest
- target: arm-unknown-linux-musleabihf
os: ubuntu-latest
- target: arm-unknown-linux-gnueabihf
os: ubuntu-latest
- target: s390x-unknown-linux-gnu
os: ubuntu-latest
- target: x86_64-apple-darwin
os: macos-latest
- target: aarch64-apple-darwin
Expand All @@ -102,8 +125,14 @@ jobs:
rust: stable-x86_64-gnu
- target: i686-pc-windows-msvc
os: windows-latest
- target: i686-pc-windows-gnu
os: windows-latest
rust: stable-x86_64-gnu
- target: aarch64-pc-windows-msvc
os: windows-latest
- target: aarch64-pc-windows-gnu
os: windows-latest
rust: stable-x86_64-gnu
# on linux we build with musl which causes trouble with open-ssl. For now, just build max-pure there
# even though we could also build with `--features max-control,http-client-reqwest,gitoxide-core-blocking-client,gix-features/fast-sha1` for fast hashing.
# It's a TODO.
Expand All @@ -114,11 +143,23 @@ jobs:
feature: lean
- target: x86_64-unknown-linux-musl
feature: max
- target: arm-unknown-linux-gnueabihf
- target: i686-unknown-linux-musl
feature: small
- target: arm-unknown-linux-gnueabihf
- target: i686-unknown-linux-musl
feature: lean
- target: arm-unknown-linux-gnueabihf
- target: i686-unknown-linux-musl
feature: max
- target: aarch64-unknown-linux-musl
feature: small
- target: aarch64-unknown-linux-musl
feature: lean
- target: aarch64-unknown-linux-musl
feature: max
- target: arm-unknown-linux-musleabihf
feature: small
- target: arm-unknown-linux-musleabihf
feature: lean
- target: arm-unknown-linux-musleabihf
feature: max

runs-on: ${{ matrix.os }}
Expand Down

0 comments on commit 260b613

Please sign in to comment.