Switch to 2.19-focal #10
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: Build CI multiplatform | |
on: | |
push: | |
tags: | |
- "*" | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
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-latest | |
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-latest-xlarge | |
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 |