Skip to content

Commit

Permalink
ci: testing cross-platforn build
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBigRoomXXL committed Sep 12, 2023
1 parent 71a88da commit 36505d8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/push-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,16 @@ jobs:
- name: setup-go
uses: actions/setup-go@v4

- name: verify-dependencies
run: go mod verify

- name: build
run: go build
- name: cross-platform-build
run: |
mkdir ./builds/
env GOARCH=arm64
env GOOS=linux go build -o ./builds/tinyfeed_linux_arm64
env GOOS=freebsd go build -o ./builds/tinyfeed_freebsd_arm64
env GOOS=darwin go build -o ./builds/tinyfeed_darwin_arm64
env GOOS=windows go build -o ./builds/tinyfeed_windows_arm64
- name: release
uses: ncipollo/release-action@v1
with:
artifacts: "tinyfeed"
artifacts: "./builds/*"
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
**tinyfeed** aggregate a collection of feeds into a static HTML page. Currently
RSS, Atom and JSON feeds are all supported thanks to the awesome
[gofeed library](https://github.com/mmcdole/gofeed)


0 comments on commit 36505d8

Please sign in to comment.