Skip to content

Commit bf72bb2

Browse files
committed
fixup! WIP: build zauth binary for arm64
1 parent 3232307 commit bf72bb2

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

.github/workflows/build-zauth.yaml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,16 @@ jobs:
99
build:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- name: Checkout repository
13-
uses: actions/checkout@v3
14-
15-
- name: Set up Rust
16-
uses: actions-rs/toolchain@v1
12+
- name: Set up MacOS Cross Compiler
13+
uses: Timmmm/setup-osxcross@v2
1714
with:
18-
toolchain: stable
19-
target: aarch64-apple-darwin
20-
override: true
15+
osx-version: "15.6"
2116

22-
- name: Install dependencies
23-
run: |
24-
sudo apt-get update
25-
sudo apt-get install -y gcc-aarch64-apple-darwin
17+
- name: Install Rustup targets
18+
run: rustup target add x86_64-apple-darwin aarch64-apple-darwin
19+
20+
- name: Checkout repository
21+
uses: actions/checkout@v3
2622

2723
- name: Build zAuth for ARM64
2824
run: |

0 commit comments

Comments
 (0)