chore: backport https://github.com/skip-mev/connect/pull/735 #3681
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Multi-Arch Build for Go | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
multi-arch-build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
os: [linux, darwin] | |
arch: [amd64, arm64, 386] | |
exclude: | |
- os: darwin | |
arch: 386 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: "1.23.3" | |
- name: Set environment variables | |
run: | | |
echo "GOOS=${{ matrix.os }}" >> $GITHUB_ENV | |
echo "GOARCH=${{ matrix.arch }}" >> $GITHUB_ENV | |
- name: Build chain and sidecar | |
run: | | |
make build-test-app && make build |