Skip to content

Commit ff26726

Browse files
committed
chore: setup GitHub workflow
1 parent bb62069 commit ff26726

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Build
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches: [master, workflow]
7+
pull_request:
8+
branches: [master, workflow]
9+
10+
env:
11+
CARGO_TERM_COLOR: always
12+
13+
jobs:
14+
build:
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- name: Checkout
19+
uses: actions/checkout@v6
20+
21+
- name: Setup just
22+
uses: extractions/setup-just@v3
23+
24+
- name: Setup Android SDK
25+
uses: android-actions/setup-android@v3
26+
27+
- name: Setup Rust
28+
run: |
29+
rustup update stable
30+
rustup target add aarch64-linux-android
31+
rustup toolchain install nightly --component rust-src
32+
33+
- name: Install bpf-linker
34+
run: cargo install bpf-linker
35+
36+
- name: Build
37+
run: just build-release

0 commit comments

Comments
 (0)