Skip to content

Commit

Permalink
setup go on all machines 2
Browse files Browse the repository at this point in the history
  • Loading branch information
mattstam committed May 1, 2024
1 parent c541e4c commit ee2a8aa
Showing 1 changed file with 6 additions and 48 deletions.
54 changes: 6 additions & 48 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,53 +15,6 @@ env:
IS_NIGHTLY: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }}

jobs:
setup-environment:
name: Setup Environment ${{ matrix.target }} (${{ matrix.runner }})
runs-on: ${{ matrix.runner }}
timeout-minutes: 240
strategy:
fail-fast: false
matrix:
include:
# `runner`: GHA runner label
# `target`: Rust build target triple
# `platform` and `arch`: Used in tarball names
# `svm`: target platform to use for the Solc binary: https://github.com/roynalnaruto/svm-rs/blob/84cbe0ac705becabdc13168bae28a45ad2299749/svm-builds/build.rs#L4-L24
- runner: ubuntu-latest
target: x86_64-unknown-linux-gnu
svm_target_platform: linux-amd64
platform: linux
arch: amd64
- runner: warp-ubuntu-latest-arm64-4x
target: aarch64-unknown-linux-gnu
svm_target_platform: linux-aarch64
platform: linux
arch: arm64
- runner: macos-latest-large
target: x86_64-apple-darwin
svm_target_platform: macosx-amd64
platform: darwin
arch: amd64
- runner: macos-latest-xlarge
target: aarch64-apple-darwin
svm_target_platform: macosx-aarch64
platform: darwin
arch: arm64
# - runner: windows-latest
# target: x86_64-pc-windows-msvc
# svm_target_platform: windows-amd64
# platform: win32
# arch: amd64
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup CI
uses: ./.github/actions/setup
with:
pull_token: ${{ secrets.PULL_TOKEN }}

prepare:
name: Prepare release
runs-on: ubuntu-latest
Expand Down Expand Up @@ -114,7 +67,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

release:
name: ${{ matrix.target }} (${{ matrix.runner }})
name: Release ${{ matrix.target }} (${{ matrix.runner }})
runs-on: ${{ matrix.runner }}
timeout-minutes: 240
needs: prepare
Expand Down Expand Up @@ -154,6 +107,11 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Setup Environment
uses: ./.github/actions/setup
with:
pull_token: ${{ secrets.PULL_TOKEN }}

- name: Install nightly toolchain
id: rustc-toolchain
uses: actions-rs/toolchain@v1
Expand Down

0 comments on commit ee2a8aa

Please sign in to comment.