forked from libbpf/blazesym
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
20 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,33 @@ | ||
name: Build | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
|
||
jobs: | ||
build: | ||
name: Build statically linked binary | ||
runs-on: ubuntu-latest | ||
steps: | ||
#- uses: actions/checkout@v4 | ||
#- name: Install dependencies | ||
# run: sudo apt-get install musl-tools | ||
#- uses: actions-rs/toolchain@v1 | ||
# with: | ||
# toolchain: stable | ||
# profile: minimal | ||
# override: true | ||
# target: aarch64-linux-android | ||
#- run: | | ||
# cargo install --path=cli --root=. --target aarch64-linux-android | ||
# strip bin/blazecli | ||
#- uses: actions/upload-artifact@v3 | ||
# with: | ||
# name: blazecli | ||
# path: bin/blazecli | ||
- uses: actions/checkout@v4 | ||
- name: Install dependencies | ||
run: sudo apt-get install musl-tools | ||
- uses: actions-rs/toolchain@v1 | ||
- name: Install Rust | ||
uses: dtolnay/rust-toolchain@stable | ||
with: | ||
toolchain: stable | ||
profile: minimal | ||
override: true | ||
target: aarch64-linux-android | ||
- run: | | ||
cargo install --path=cli --root=. --target aarch64-linux-android | ||
strip bin/blazecli | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: blazecli | ||
path: bin/blazecli | ||
- run: cargo install --path=cli --root=. --target aarch64-linux-android |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
name: Test | ||
|
||
on: | ||
push: | ||
pull_request: | ||
workflow_call: | ||
|
||
env: | ||
|