Skip to content

Commit 4a64d2f

Browse files
committed
build termux
1 parent 5780f8f commit 4a64d2f

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/build-termux.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Build for Termux
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- build-termux
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest # Or another suitable runner
12+
container: termux/termux-docker:latest # Use the termux-docker image
13+
steps:
14+
- name: Checkout code
15+
uses: actions/checkout@v4
16+
- name: Install Rust and Android target
17+
run: |
18+
pkg install cargo
19+
- name: Build with Cargo for Termux
20+
run: |
21+
cargo build --release

0 commit comments

Comments
 (0)