Skip to content

Commit 2d953f8

Browse files
authored
Add arm64 arch to workflow file (#102)
1 parent f015c98 commit 2d953f8

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.github/typescript-ci-patch.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,29 +17,37 @@
1717
target: x86_64-unknown-linux-gnu
1818
- os: windows-2019
1919
target: x86_64-pc-windows-msvc
20+
arch:
21+
- x64
2022
include:
2123
# only node 15+ supports arm64 natively, so we only need to build 16 for now
2224
- system:
2325
os: [self-hosted, macOS, ARM64]
2426
target: aarch64-apple-darwin
2527
node_version: 16
2628
rust_version: 1.56.0
29+
arch: arm64
2730
- system:
2831
os: [self-hosted, macOS, ARM64]
2932
target: aarch64-apple-darwin
3033
node_version: 16
3134
rust_version: stable
35+
arch: arm64
3236
- system:
3337
os: [self-hosted, macOS, ARM64]
3438
target: aarch64-apple-darwin
3539
node_version: 16
3640
rust_version: beta
41+
arch: arm64
3742
- op: add
3843
path: /jobs/test/strategy/fail-fast
3944
value: false
4045
- op: replace
4146
path: /jobs/test/runs-on
4247
value: "${{ matrix.system.os }}"
48+
- op: add
49+
path: /jobs/test/steps/1/with/architecture
50+
value: "${{ matrix.arch }}"
4351

4452
# These steps are lifted from the Rust CI workflow, cargo-test job.
4553
- op: test

.github/workflows/typescript-ci.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ jobs:
2929
target: x86_64-unknown-linux-gnu
3030
- os: windows-2019
3131
target: x86_64-pc-windows-msvc
32+
arch:
33+
- x64
3234
include:
3335
- system:
3436
os:
@@ -38,6 +40,7 @@ jobs:
3840
target: aarch64-apple-darwin
3941
node_version: 16
4042
rust_version: 1.56.0
43+
arch: arm64
4144
- system:
4245
os:
4346
- self-hosted
@@ -46,6 +49,7 @@ jobs:
4649
target: aarch64-apple-darwin
4750
node_version: 16
4851
rust_version: stable
52+
arch: arm64
4953
- system:
5054
os:
5155
- self-hosted
@@ -54,13 +58,15 @@ jobs:
5458
target: aarch64-apple-darwin
5559
node_version: 16
5660
rust_version: beta
61+
arch: arm64
5762
fail-fast: false
5863
steps:
5964
- uses: actions/checkout@v3
6065
- uses: actions/setup-node@v3
6166
with:
6267
node-version: ${{ matrix.node_version }}
6368
cache: yarn
69+
architecture: ${{ matrix.arch }}
6470
- uses: actions-rs/toolchain@v1
6571
with:
6672
profile: minimal
@@ -92,6 +98,8 @@ jobs:
9298
- 12
9399
- 14
94100
- 16
101+
arch:
102+
- x64
95103
os:
96104
- ubuntu-20.04
97105
fail-fast: false

0 commit comments

Comments
 (0)