-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: CI for auto updating vcpkg port (#20)
This is for https://github.com/Starfield-Reverse-Engineering/Starfield-RE-vcpkg/pull/1 Also made the Maintenance script manually dispatchable. closes #13 --------- Co-authored-by: maintenance <[email protected]>
- Loading branch information
Showing
7 changed files
with
20 additions
and
58 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 |
---|---|---|
|
@@ -5,6 +5,7 @@ on: | |
branches: main | ||
paths: | ||
- "CommonLibSF/**" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
maintenance: | ||
|
@@ -17,7 +18,7 @@ jobs: | |
shell: pwsh | ||
run: "& ${{ github.workspace }}/.github/make-directives.ps1 ${{ github.workspace }}/CommonLibSF" | ||
|
||
- name: Run clang-format | ||
- name: Apply Clang-Format | ||
uses: DoozyX/[email protected] | ||
with: | ||
source: "." | ||
|
@@ -26,16 +27,16 @@ jobs: | |
clangFormatVersion: 16 | ||
inplace: True | ||
|
||
- name: Update vcpkg version-date | ||
- name: Update VCPKG Version | ||
id: versioning | ||
shell: pwsh | ||
run: "& ${{ github.workspace }}/.github/update-registry.ps1 ${{ github.workspace }}" | ||
|
||
- name: Check for success | ||
- name: Check Failure | ||
run: exit 1 | ||
if: ${{ steps.versioning.outputs.VCPKG_SUCCESS == 'false' }} | ||
|
||
- name: Check for commit | ||
- name: Check for Commit | ||
uses: EndBug/add-and-commit@v9 | ||
with: | ||
author_name: maintenance | ||
|
@@ -47,6 +48,5 @@ jobs: | |
uses: peter-evans/repository-dispatch@v2 | ||
with: | ||
token: ${{ secrets.VCPKG_HELPER_TOKEN }} | ||
repository: Starfield-Reverse-Engineering/Starfield-RE-vcpkg | ||
repository: ${{ github.repository_owner }}/Starfield-RE-vcpkg | ||
event-type: update-event | ||
client-payload: '{"sha": "${{ github.sha }}"}' |
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,5 +1,5 @@ | ||
include("${CMAKE_CURRENT_LIST_DIR}/@[email protected]") | ||
include("${CMAKE_CURRENT_LIST_DIR}/@[email protected]") | ||
include(CMakeFindDependencyMacro) | ||
|
||
find_dependency(spdlog CONFIG) | ||
find_dependency(xbyak CONFIG) |
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