Skip to content

Commit

Permalink
remove arm32 build (#60)
Browse files Browse the repository at this point in the history
* remove arm32 build

* fix

* should be fine now
  • Loading branch information
chenyan-dfinity authored Jul 11, 2024
1 parent 535a3b5 commit 61b6f12
Showing 1 changed file with 1 addition and 24 deletions.
25 changes: 1 addition & 24 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 61b6f12

Please sign in to comment.