Skip to content

Commit 77e5c47

Browse files
committed
Build for linux/arm64
1 parent ab0bda3 commit 77e5c47

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,16 @@ jobs:
1919
node-version: [ 22.x ]
2020
target:
2121
- x86_64-unknown-linux-gnu
22+
- aarch64-unknown-linux-gnu
2223
include:
2324
- target: x86_64-unknown-linux-gnu
25+
os: ubuntu-24.04
2426
architecture: x64
27+
- target: aarch64-unknown-linux-gnu
28+
os: ubuntu-24.04-arm
29+
architecture: arm64
2530

26-
runs-on: ubuntu-latest
31+
runs-on: ${{ matrix.os }}
2732

2833
timeout-minutes: 30
2934

@@ -41,19 +46,19 @@ jobs:
4146
uses: actions/cache@v4
4247
with:
4348
path: ~/.cargo/registry
44-
key: cargo-registry-${{ runner.os }}-${{ hashFiles('Cargo.lock') }}
49+
key: cargo-registry-${{ matrix.os }}-${{ hashFiles('Cargo.lock') }}
4550

4651
- name: Cache cargo bin
4752
uses: actions/cache@v4
4853
with:
4954
path: ~/.cargo/bin
50-
key: cargo-bin-${{ runner.os }}-${{ hashFiles('Cargo.lock') }}
55+
key: cargo-bin-${{ matrix.os }}-${{ hashFiles('Cargo.lock') }}
5156

5257
- name: Cache cargo build
5358
uses: actions/cache@v4
5459
with:
5560
path: target
56-
key: cargo-build-target-${{ runner.os }}-${{ hashFiles('Cargo.lock') }}
61+
key: cargo-build-target-${{ matrix.os }}-${{ hashFiles('Cargo.lock') }}
5762

5863
- uses: actions-rust-lang/setup-rust-toolchain@v1
5964
with:

release_build.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.2.5
1+
1.2.6

0 commit comments

Comments
 (0)