Skip to content

Commit d0d1fbb

Browse files
committed
build native lib for linux-arm64
1 parent 6d1bde8 commit d0d1fbb

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/native-lib.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Native library builder
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ${{ matrix.os }}
8+
strategy:
9+
matrix:
10+
os: [ubuntu-24.04-arm]
11+
bin: [peergos]
12+
exclude:
13+
- os: ubuntu-24.04-arm
14+
bin: peergos.exe
15+
fail-fast: false
16+
steps:
17+
- uses: actions/checkout@v4
18+
- uses: ilammy/msvc-dev-cmd@v1
19+
- name: Set up JDK
20+
uses: actions/setup-java@v4
21+
with:
22+
distribution: temurin
23+
java-version: 8
24+
- name: Build native library
25+
shell: bash
26+
run: make jni
27+
- name: Upload package artifact
28+
uses: actions/upload-artifact@v4
29+
with:
30+
name: libtweetnacl.so
31+
path: "./libtweetnacl.so"

0 commit comments

Comments
 (0)