Skip to content

Commit

Permalink
remove arm32 build
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyan-dfinity committed Jun 27, 2024
1 parent d45e0b9 commit 9255c5f
Showing 1 changed file with 1 addition and 23 deletions.
24 changes: 1 addition & 23 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
push:
tags:
- '*'
pull_request:
jobs:
build:
name: Build for ${{ matrix.name }}
Expand All @@ -19,37 +20,16 @@ jobs:
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:
Expand Down Expand Up @@ -97,8 +77,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
Expand Down

0 comments on commit 9255c5f

Please sign in to comment.