Merge pull request #137 from SigmaGmbH/feat/disable-unsafe-eth-endpoints #90
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: Build CI multiplatform | |
on: | |
push: | |
branches: [ develop, '**-release', 'feat/sdi-changes' ] | |
workflow_dispatch: | |
env: | |
BRANCH_NAME: ${{ github.head_ref || github.ref_name }} | |
jobs: | |
linux-amd64: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: 'stable' | |
- name: "Build linux-amd64" | |
run: make build-linux-cli-amd | |
- name: "Upload file" | |
uses: actions/upload-artifact@v3 | |
with: | |
name: swisstronikcli-linux-amd64 | |
path: build/swisstronikcli-linux-amd64 | |
macos-amd64: | |
runs-on: macos-13 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: 'stable' | |
- name: "Build macos-amd64" | |
run: make build-macos-cli-amd | |
- name: "Upload file" | |
uses: actions/upload-artifact@v3 | |
with: | |
name: swisstronikcli-macos-amd64 | |
path: build/swisstronikcli-macos-amd64 | |
macos-arm64: | |
runs-on: macos-14 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: 'stable' | |
- name: "Build macos-arm64" | |
run: make build-macos-cli-arm | |
- name: "Upload file" | |
uses: actions/upload-artifact@v3 | |
with: | |
name: swisstronikcli-macos-arm64 | |
path: build/swisstronikcli-macos-arm64 | |
windows-amd64: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: 'stable' | |
- name: "Build windows-amd64" | |
run: make build-windows-cli | |
- name: "Upload file" | |
uses: actions/upload-artifact@v3 | |
with: | |
name: swisstronikcli-windows | |
path: build/swisstronikcli-windows |