forked from containers/buildah
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate cross-compile task to github-actions
As of Sept. 1st 2023 Cirrus-CI will start charging for hosted compute time. At the time of this commit, according to the containers-org billing page, github provides 200 "free" minutes per month of MacOS time. However, the same page shows 0 minutes used across-the-board, so perhaps they're not counting minutes at all. Signed-off-by: Chris Evich <cevich@redhat.com>
- Loading branch information
Showing
2 changed files
with
21 additions
and
24 deletions.
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
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,21 @@ | ||
--- | ||
|
||
name: Test MacOS Build | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
test_macos_build: | ||
name: Test MacOS Build | ||
runs-on: macos-latest | ||
steps: | ||
- run: | | ||
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/*" |