From 518a22c8bc13619e56aef4f61fb6841c2e0f30e2 Mon Sep 17 00:00:00 2001 From: Eliah Kagan Date: Mon, 12 Aug 2024 04:52:42 -0400 Subject: [PATCH] Build releases for more targets --- .github/workflows/release.yml | 47 ++++++++++++++++++++++++++++++++--- 1 file changed, 44 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 99026fe2777..d9c654965bb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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-gnullvm # 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 @@ -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-gnullvm + 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. @@ -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 }}