forked from aspel/pobfrontend
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrating from Travis CI to GitHub Actions
- Loading branch information
1 parent
83f99d7
commit d8d91dd
Showing
6 changed files
with
35 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: ci | ||
on: push | ||
jobs: | ||
build-OSX: | ||
runs-on: macos-latest | ||
env: | ||
LDFLAGS: -L/usr/local/opt/qt@5/lib | ||
CPPFLAGS: -I/usr/local/opt/qt@5/include | ||
PKG_CONFIG_PATH: /usr/local/opt/qt@5/lib/pkgconfig | ||
HOMEBREW_CURLRC: 1 | ||
steps: | ||
- run: echo "/usr/local/opt/qt@5/bin" >> $GITHUB_PATH | ||
- uses: actions/checkout@v3 | ||
- run: brew install make | ||
- run: brew install ninja | ||
- run: echo insecure >> ~/.curlrc | ||
- run: make -f Makefile.darwin clean | ||
- run: make -f Makefile.darwin tools | ||
- run: make -f Makefile.darwin | ||
- run: tar -cf - PathOfBuilding.app | xz -c > PathOfBuilding.darwin.tar.xz | ||
# - uses: softprops/action-gh-release@v1 | ||
# if: startsWith(github.ref, 'refs/tags/') | ||
# with: | ||
# files: PathOfBuilding.darwin.tar.xz | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: PathOfBuilding | ||
path: PathOfBuilding.darwin.tar.xz |
Binary file not shown.
Binary file not shown.
Binary file not shown.
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