Skip to content

Commit 3796ec3

Browse files
authored
Use GH ARM runner (temporalio#580)
Fixes temporalio#565
1 parent 913b4b6 commit 3796ec3

File tree

2 files changed

+4
-18
lines changed

2 files changed

+4
-18
lines changed

.github/workflows/build-binaries.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ jobs:
1616
package-suffix: linux-amd64
1717
- os: ubuntu-arm
1818
package-suffix: linux-aarch64
19-
# Need the 8 CPU version that has 12GB of RAM, the 4 CPU version
20-
# only has 6 GB.
21-
runsOn: buildjet-8vcpu-ubuntu-2204-arm
19+
runsOn: ubuntu-24.04-arm64-2-core
2220
- os: macos-intel
2321
package-suffix: macos-amd64
2422
runsOn: macos-12
@@ -32,13 +30,7 @@ jobs:
3230
- uses: actions/checkout@v4
3331
with:
3432
submodules: recursive
35-
# actions/setup-python doesn't yet support Linux ARM
36-
- if: ${{ matrix.os != 'ubuntu-arm' }}
37-
uses: actions/setup-python@v5
38-
with:
39-
python-version: "3.12"
40-
- if: ${{ matrix.os == 'ubuntu-arm' }}
41-
uses: deadsnakes/[email protected]
33+
- uses: actions/setup-python@v5
4234
with:
4335
python-version: "3.12"
4436

.github/workflows/ci.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
python: "3.8"
2424
protoCheckTarget: true
2525
- os: ubuntu-arm
26-
runsOn: buildjet-4vcpu-ubuntu-2204-arm
26+
runsOn: ubuntu-24.04-arm64-2-core
2727
- os: macos-intel
2828
runsOn: macos-12
2929
- os: macos-arm
@@ -44,13 +44,7 @@ jobs:
4444
- uses: Swatinem/rust-cache@v2
4545
with:
4646
workspaces: temporalio/bridge -> target
47-
# actions/setup-python doesn't yet support Linux ARM
48-
- if: ${{ matrix.os != 'ubuntu-arm' }}
49-
uses: actions/setup-python@v5
50-
with:
51-
python-version: ${{ matrix.python }}
52-
- if: ${{ matrix.os == 'ubuntu-arm' }}
53-
uses: deadsnakes/[email protected]
47+
- uses: actions/setup-python@v5
5448
with:
5549
python-version: ${{ matrix.python }}
5650
- uses: arduino/setup-protoc@v3

0 commit comments

Comments
 (0)