-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
34 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# This smells like Ansible, but I'm not sure I'm doing this correctly, so this won't be enabled for a while. | ||
|
||
name: Go | ||
|
||
on: | ||
push: | ||
branches: [ "master" ] | ||
pull_request: | ||
branches: [ "master" ] | ||
|
||
jobs: | ||
|
||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.20.5 | ||
|
||
- name: Build linux amd64 | ||
run: env GOOS=linux GOARCH=amd64 go build -o build/lotw-trust_linux -ldflags '-s -w' | ||
|
||
- name: Build windows amd64 | ||
run: env GOOS=windows GOARCH=amd64 go build -o build/lotw-trust.exe -ldflags '-s -w' | ||
|
||
- name: Build osx amd64 | ||
run: env GOOS=darwin GOARCH=amd64 go build -o build/lotw-trust_osx -ldflags '-s -w' | ||
|
||
- name: Build raspberry | ||
run: env GOOS=linux GOARCH=arm64 go build -o build/lotw-trust_rpi64 -ldflags '-s -w' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.0.11 | ||
0.0.12 |