Skip to content

Commit

Permalink
CI fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
cretz committed Jul 18, 2024
1 parent 5ce7eea commit 310ccbb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 17 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/build-binaries.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Build Binaries
on:
pull_request:
push:
branches:
- main
Expand All @@ -16,9 +17,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 +31,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
8 changes: 1 addition & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 310ccbb

Please sign in to comment.