Skip to content

Commit

Permalink
CI #3
Browse files Browse the repository at this point in the history
  • Loading branch information
delneg committed Oct 23, 2023
1 parent 2f75bde commit e6fc907
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/build-ci-multiplatform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ jobs:
go-version: 'stable'
- name: "Build linux-amd64"
run: make build-linux-cli-amd
- name: "Upload file"
uses: actions/upload-artifact@v2
with:
name: swisstronikcli-linux-amd64
path: swisstronikcli-linux-amd64

macos-amd64:
runs-on: macos-latest
Expand All @@ -25,6 +30,28 @@ jobs:
go-version: 'stable'
- name: "Build macos-amd64"
run: make build-macos-cli-amd
- name: "Upload file"
uses: actions/upload-artifact@v2
with:
name: swisstronikcli-macos-amd64
path: 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-amd
- name: "Upload file"
uses: actions/upload-artifact@v2
with:
name: swisstronikcli-macos-arm64
path: swisstronikcli-macos-arm64



windows-amd64:
runs-on: windows-latest
Expand All @@ -35,3 +62,8 @@ jobs:
go-version: 'stable'
- name: "Build windows-amd64"
run: make build-windows-cli
- name: "Upload file"
uses: actions/upload-artifact@v2
with:
name: swisstronikcli-windows
path: swisstronikcli-windows

0 comments on commit e6fc907

Please sign in to comment.