Skip to content

Commit

Permalink
Build for aarch64-linux-android
Browse files Browse the repository at this point in the history
  • Loading branch information
d-e-s-o committed Nov 16, 2023
1 parent a80c790 commit 3a3c030
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
24 changes: 13 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,28 @@
name: Build

on:
workflow_dispatch:
push:

jobs:
build:
name: Build statically linked binary
runs-on: ubuntu-latest
strategy:
matrix:
target: [
aarch64-linux-android,
arm-linux-androideabi,
armv7-linux-androideabi,
x86_64-unknown-linux-musl,
]
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: sudo apt-get install musl-tools
- uses: actions-rs/toolchain@v1
- uses: taiki-e/setup-cross-toolchain-action@v1
with:
toolchain: stable
profile: minimal
override: true
target: x86_64-unknown-linux-musl
target: ${{ matrix.target }}
- run: |
cargo install --path=cli --root=. --target x86_64-unknown-linux-musl
strip bin/blazecli
cargo install --path=cli --root=. --target ${{ matrix.target }}
- uses: actions/upload-artifact@v3
with:
name: blazecli
name: blazecli-${{ matrix.target }}
path: bin/blazecli
2 changes: 0 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: Test

on:
push:
pull_request:
workflow_call:

env:
Expand Down

0 comments on commit 3a3c030

Please sign in to comment.