From b71eebd603737efd7331eca2e74aaba0430fd9d1 Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Sat, 10 Dec 2022 03:03:50 -0800 Subject: [PATCH 1/3] Build releases for arm --- .github/workflows/release.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 9e1e2e0faf..f9125356e5 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -15,10 +15,22 @@ jobs: fail-fast: false matrix: target: + - aarch64-apple-darwin + - aarch64-unknown-linux-musl + - armv7-unknown-linux-musleabihf - x86_64-apple-darwin - x86_64-pc-windows-msvc - x86_64-unknown-linux-gnu include: + - target: aarch64-apple-darwin + os: macos-latest + target_rustflags: '' + - target: aarch64-unknown-linux-musl + os: ubuntu-latest + target_rustflags: '--codegen linker=aarch64-linux-gnu-gcc' + - target: armv7-unknown-linux-musleabihf + os: ubuntu-latest + target_rustflags: '--codegen linker=arm-linux-gnueabihf-gcc' - target: x86_64-apple-darwin os: macos-latest target_rustflags: '' @@ -47,6 +59,18 @@ jobs: sudo apt-get update sudo apt-get install musl-tools libssl-dev pkg-config + - name: Install AArch64 Toolchain + if: ${{ matrix.target == 'aarch64-unknown-linux-musl' }} + run: | + sudo apt-get update + sudo apt-get install gcc-aarch64-linux-gnu + + - name: Install ARM7 Toolchain + if: ${{ matrix.target == 'armv7-unknown-linux-musleabihf' }} + run: | + sudo apt-get update + sudo apt-get install gcc-arm-linux-gnueabihf + - name: Release Type id: release-type run: | From fa5ed4f3977d5f9e58363360332bb4dc9e7209ea Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Sat, 10 Dec 2022 13:19:17 -0800 Subject: [PATCH 2/3] Remove Linux ARM targets --- .github/workflows/release.yaml | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index f9125356e5..e77114cf64 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -25,12 +25,6 @@ jobs: - target: aarch64-apple-darwin os: macos-latest target_rustflags: '' - - target: aarch64-unknown-linux-musl - os: ubuntu-latest - target_rustflags: '--codegen linker=aarch64-linux-gnu-gcc' - - target: armv7-unknown-linux-musleabihf - os: ubuntu-latest - target_rustflags: '--codegen linker=arm-linux-gnueabihf-gcc' - target: x86_64-apple-darwin os: macos-latest target_rustflags: '' @@ -59,18 +53,6 @@ jobs: sudo apt-get update sudo apt-get install musl-tools libssl-dev pkg-config - - name: Install AArch64 Toolchain - if: ${{ matrix.target == 'aarch64-unknown-linux-musl' }} - run: | - sudo apt-get update - sudo apt-get install gcc-aarch64-linux-gnu - - - name: Install ARM7 Toolchain - if: ${{ matrix.target == 'armv7-unknown-linux-musleabihf' }} - run: | - sudo apt-get update - sudo apt-get install gcc-arm-linux-gnueabihf - - name: Release Type id: release-type run: | From b3c9efcb7f93b0149d49780c89e460a424a4f725 Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Mon, 12 Dec 2022 10:09:29 -0800 Subject: [PATCH 3/3] tweak --- .github/workflows/release.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index e77114cf64..fdf58eac18 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -16,8 +16,6 @@ jobs: matrix: target: - aarch64-apple-darwin - - aarch64-unknown-linux-musl - - armv7-unknown-linux-musleabihf - x86_64-apple-darwin - x86_64-pc-windows-msvc - x86_64-unknown-linux-gnu