-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Remove D3D9, backend is officially dead upstream on bgfx - Migrate CI to Github Actions
- Loading branch information
1 parent
608e117
commit 5e70574
Showing
22 changed files
with
164 additions
and
195 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
File renamed without changes.
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,88 @@ | ||
name: FFNx | ||
|
||
run-name: 1.17.1.${{ github.run_number }} | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- master | ||
tags: | ||
- "*" | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
env: | ||
_IS_BUILD_CANARY: false | ||
_IS_GITHUB_RELEASE: false | ||
_RELEASE_NAME: FFNx | ||
_RELEASE_VERSION: v0 | ||
_RELEASE_CONFIGURATION: Release | ||
_BUILD_BRANCH: "${{ github.ref }}" | ||
_BUILD_VERSION: "1.17.1.${{ github.run_number }}" | ||
_CHANGELOG_VERSION: "0" | ||
# Force concurrency to 4 threads | ||
VCPKG_MAX_CONCURRENCY: 4 | ||
# GIT: Fix reporting from stderr to stdout | ||
GIT_REDIRECT_STDERR: 2>&1 | ||
|
||
jobs: | ||
FFNx: | ||
runs-on: windows-latest | ||
timeout-minutes: 1440 | ||
strategy: | ||
max-parallel: 1 | ||
steps: | ||
- name: Set Git Config | ||
run: | | ||
git config --global core.autocrlf false | ||
git config --global core.filemode false | ||
git config --global core.longpaths true | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
- name: Build FFNx | ||
run: ".github/workflows/build.ps1" | ||
shell: pwsh | ||
env: | ||
GITHUB_PACKAGES_PAT: ${{ secrets._GITHUB_PACKAGES_PAT }} | ||
- name: Publish PR FFNx Artifact | ||
if: env._IS_GITHUB_RELEASE == 'false' && success() | ||
uses: actions/[email protected] | ||
with: | ||
name: "${{ env._RELEASE_NAME }}-${{ env._RELEASE_VERSION }}" | ||
path: ".dist/*.zip" | ||
- name: Create FFNx (Canary) | ||
uses: ncipollo/release-action@v1 | ||
if: env._IS_GITHUB_RELEASE == 'true' && env._IS_BUILD_CANARY == 'true' && success() | ||
with: | ||
artifacts: ".dist/*.zip" | ||
generateReleaseNotes: true | ||
prerelease: true | ||
removeArtifacts: true | ||
tag: canary | ||
name: "${{ env._RELEASE_NAME }}-${{ env._RELEASE_VERSION }}" | ||
body: | | ||
See https://github.com/julianxhokaxhiu/FFNx/blob/master/Changelog.md#next | ||
This is a canary build. Please be aware it may be prone to crashing and is NOT tested by anyone. Use this build AT YOUR OWN RISK! | ||
- name: Create FFNx (Stable) | ||
uses: ncipollo/release-action@v1 | ||
if: env._IS_GITHUB_RELEASE == 'true' && env._IS_BUILD_CANARY == 'false' && success() | ||
with: | ||
artifacts: ".dist/*.zip" | ||
generateReleaseNotes: true | ||
makeLatest: true | ||
removeArtifacts: true | ||
name: "${{ env._RELEASE_NAME }}-${{ env._RELEASE_VERSION }}" | ||
body: | | ||
See https://github.com/julianxhokaxhiu/FFNx/blob/master/Changelog.md#$(_CHANGELOG_VERSION) | ||
- name: Alert the FFNx Release | ||
if: env._IS_GITHUB_RELEASE == 'true' && success() | ||
env: | ||
_MAP_FFNX_TSUNAMODS_FF7: "${{ secrets._FFNX_TSUNAMODS_FF7 }}" | ||
_MAP_FFNX_TSUNAMODS_FF8: "${{ secrets._FFNX_TSUNAMODS_FF8 }}" | ||
_MAP_FFNX_QHIMM_FF7: "${{ secrets._FFNX_QHIMM_FF7 }}" | ||
_MAP_FFNX_QHIMM_FF8: "${{ secrets._FFNX_QHIMM_FF8 }}" | ||
run: ".github/workflows/alert.ps1" | ||
shell: pwsh |
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
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
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
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"versions": [ | ||
{ | ||
"version": "3.3.0", | ||
"version": "3.4.0", | ||
"path": "$/ports/tomlplusplus" | ||
} | ||
] | ||
|
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
Oops, something went wrong.