[WIP] Migrate cross-compile task to github-actions #4
Workflow file for this run
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
--- | |
name: Test MacOS Build | |
on: [push, pull_request] | |
jobs: | |
test_macos_build: | |
name: Test MacOS Build | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: | | |
brew update | |
brew install --overwrite go | |
brew install go-md2man | |
brew install gpgme | |
go version | |
make cross CGO_ENABLED=0 | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: binary | |
path: "./bin/*" |