From 61b6f12f87f2e1c91526c176ad68ba2eb27a068e Mon Sep 17 00:00:00 2001 From: Yan Chen <48968912+chenyan-dfinity@users.noreply.github.com> Date: Thu, 11 Jul 2024 12:52:55 -0700 Subject: [PATCH] remove arm32 build (#60) * remove arm32 build * fix * should be fine now --- .github/workflows/release.yml | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d3f964c..45f8dcd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,41 +15,20 @@ jobs: name: linux64 artifact_name: target/release/ic-wasm asset_name: ic-wasm-linux64 - - os: macos-latest + - os: macos-12 name: macos artifact_name: target/release/ic-wasm asset_name: ic-wasm-macos - - os: ubuntu-latest - name: arm - artifact_name: target/arm-unknown-linux-gnueabihf/release/ic-wasm - asset_name: ic-wasm-arm32 steps: - uses: actions/checkout@v2 - name: Install stable toolchain - if: matrix.name != 'arm' - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: stable - override: true - - name: Install stable toolchain - if: matrix.name == 'arm' uses: actions-rs/toolchain@v1 with: profile: minimal toolchain: stable override: true - target: arm-unknown-linux-gnueabihf - name: Build - if: matrix.name != 'arm' run: cargo build --release --locked - - name: Cross build - if: matrix.name == 'arm' - uses: actions-rs/cargo@v1 - with: - use-cross: true - command: build - args: --target arm-unknown-linux-gnueabihf --release --locked - name: 'Upload assets' uses: actions/upload-artifact@v3 with: @@ -97,8 +76,6 @@ jobs: # Building from source is time-consuming, hence the preference for `cargo binstall` over `cargo install` that always builds from source. - asset_name: ic-wasm-linux64 binstall_name: ic-wasm-x86_64-unknown-linux-gnu.tar.gz - - asset_name: ic-wasm-arm32 - binstall_name: ic-wasm-arm-unknown-linux-gnueabihf.tar.gz - asset_name: ic-wasm-macos binstall_name: ic-wasm-x86_64-apple-darwin.tar.gz runs-on: ubuntu-latest