Skip to content

Commit b27ef51

Browse files
committed
WIP: build zauth binary for arm64
1 parent 3ae0d93 commit b27ef51

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/build-zauth.yaml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
on:
2+
push:
3+
branches:
4+
- lwille/zauth-arm64
5+
6+
7+
name: Build zAuth Rust binary for ARM64
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout repository
13+
uses: actions/checkout@v3
14+
15+
- name: Set up Rust
16+
uses: actions-rs/toolchain@v1
17+
with:
18+
toolchain: stable
19+
target: aarch64-unknown-linux-gnu
20+
override: true
21+
22+
- name: Install dependencies
23+
run: |
24+
sudo apt-get update
25+
sudo apt-get install -y gcc-aarch64-linux-gnu
26+
27+
- name: Build zAuth for ARM64
28+
run: |
29+
make libzauth
30+
env:
31+
CARGO_BUILD_TARGET: aarch64
32+
33+
- name: Upload zAuth binary as artifact
34+
uses: actions/upload-artifact@v3
35+
with:
36+
name: zauth-linux-arm64
37+
path: dist/zauth

0 commit comments

Comments
 (0)