Skip to content

Commit

Permalink
Use GH ARM runner (#580)
Browse files Browse the repository at this point in the history
Fixes #565
  • Loading branch information
cretz authored Jul 18, 2024
1 parent 913b4b6 commit 3796ec3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 18 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/build-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ jobs:
package-suffix: linux-amd64
- os: ubuntu-arm
package-suffix: linux-aarch64
# Need the 8 CPU version that has 12GB of RAM, the 4 CPU version
# only has 6 GB.
runsOn: buildjet-8vcpu-ubuntu-2204-arm
runsOn: ubuntu-24.04-arm64-2-core
- os: macos-intel
package-suffix: macos-amd64
runsOn: macos-12
Expand All @@ -32,13 +30,7 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: recursive
# actions/setup-python doesn't yet support Linux ARM
- if: ${{ matrix.os != 'ubuntu-arm' }}
uses: actions/setup-python@v5
with:
python-version: "3.12"
- if: ${{ matrix.os == 'ubuntu-arm' }}
uses: deadsnakes/[email protected]
- uses: actions/setup-python@v5
with:
python-version: "3.12"

Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
python: "3.8"
protoCheckTarget: true
- os: ubuntu-arm
runsOn: buildjet-4vcpu-ubuntu-2204-arm
runsOn: ubuntu-24.04-arm64-2-core
- os: macos-intel
runsOn: macos-12
- os: macos-arm
Expand All @@ -44,13 +44,7 @@ jobs:
- uses: Swatinem/rust-cache@v2
with:
workspaces: temporalio/bridge -> target
# actions/setup-python doesn't yet support Linux ARM
- if: ${{ matrix.os != 'ubuntu-arm' }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- if: ${{ matrix.os == 'ubuntu-arm' }}
uses: deadsnakes/[email protected]
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- uses: arduino/setup-protoc@v3
Expand Down

0 comments on commit 3796ec3

Please sign in to comment.