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 e068cb7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/push-main.yml
Expand Up @@ -17,13 +17,18 @@ 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/
cd builds
env GOARCH=arm64
env GOOS=linux go build -o tinyfeed_linux_arm64
env GOOS=freebsd go build -o tinyfeed_freebsd_arm64
env GOOS=darwin go build -o tinyfeed_darwin_arm64
env GOOS=windows go build -o tinyfeed_windows_arm64
cd ../
- name: release
uses: ncipollo/release-action@v1
with:
artifacts: "tinyfeed"
artifacts: "./builds/*"
2 changes: 2 additions & 0 deletions README.md
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 e068cb7

Please sign in to comment.