-
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.
Merge pull request #62 from grunt-lucas/meta/cmake-build
Refactor build system to use CMake
- Loading branch information
Showing
1,054 changed files
with
134 additions
and
321 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 |
---|---|---|
|
@@ -69,10 +69,10 @@ jobs: | |
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
nightly-release-macos-aarch64: | ||
name: Release a nightly dynamically linked macos-aarch64 binary | ||
nightly-release-macos-arm64: | ||
name: Release a nightly dynamically linked macos-arm64 binary | ||
runs-on: macos-latest | ||
# GitHub removed Intel Mac runners, so macos-latest is now aarch64 | ||
# GitHub removed Intel Mac runners, so macos-latest is now arm64 | ||
needs: [create-release-tag] | ||
if: needs.check-already-built.outputs.last_sha != github.sha | ||
steps: | ||
|
@@ -92,20 +92,20 @@ jobs: | |
|
||
- name: Create release package | ||
run: | | ||
./script/package.sh macos-aarch64 nightly-${{github.sha}} . | ||
./script/package.sh macos-arm64 nightly-${{github.sha}} . | ||
- name: Create release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
tag_name: nightly-${{github.sha}} | ||
files: porytiles-macos-aarch64.zip | ||
files: porytiles-macos-arm64.zip | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
prune-old-nightlies: | ||
name: Only keep the latest nightly build | ||
runs-on: ubuntu-latest | ||
needs: [nightly-release-linux-amd64, nightly-release-macos-aarch64] | ||
needs: [nightly-release-linux-amd64, nightly-release-macos-arm64] | ||
if: needs.check-already-built.outputs.last_sha != github.sha | ||
steps: | ||
- uses: dev-drprasad/[email protected] | ||
|
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.