Skip to content

Fix .deb build - support Ubuntu 18.04+ - switch to custom SGX images … #13

Fix .deb build - support Ubuntu 18.04+ - switch to custom SGX images …

Fix .deb build - support Ubuntu 18.04+ - switch to custom SGX images … #13

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