-
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.
- Loading branch information
1 parent
15fd470
commit 17682c6
Showing
46 changed files
with
1,246 additions
and
792 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
# Auto detect text files and perform LF normalization | ||
* text=auto | ||
*.ps1 linguist-vendored |
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,32 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
paths: | ||
- "Plugin/**" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
run-build: | ||
runs-on: windows-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Dependencies | ||
run: | | ||
git submodule update --init --recursive; | ||
vcpkg integrate install | ||
- name: Build | ||
run: | | ||
Remove-Item build -Recurse -Force -ErrorAction:SilentlyContinue -Confirm:$False | Out-Null; | ||
cmake -B build -S Plugin --preset=build-release-msvc-msvc -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake; | ||
cmake --build build | ||
- name: Upload Artifact | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: Release | ||
path: build/Release | ||
retention-days: 30 |
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 @@ | ||
on: [push] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: DoozyX/[email protected] | ||
with: | ||
source: '.' | ||
exclude: './docs' | ||
extensions: 'c,cc,cpp,cxx,h,hpp,hxx,inl,inc,ixx' | ||
clangFormatVersion: 16 | ||
inplace: True | ||
- uses: EndBug/add-and-commit@v9 | ||
with: | ||
author_name: clang-format | ||
message: 'chore: style formatting' | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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,33 +1,24 @@ | ||
name: Scripted maintenance | ||
name: Maintenance | ||
|
||
on: [ push, pull_request_target ] | ||
on: [push] | ||
|
||
jobs: | ||
maintenance: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: DoozyX/[email protected] | ||
with: | ||
ref: ${{ github.head_ref }} | ||
source: '.' | ||
exclude: './docs' | ||
extensions: 'c,cc,cpp,cppm,cxx,h,hpp,hxx,inl,inc,ixx,mxx' | ||
clangFormatVersion: 16 | ||
inplace: True | ||
|
||
- name: Cache LLVM and Clang | ||
id: cache-llvm | ||
uses: actions/cache@v2 | ||
- uses: EndBug/add-and-commit@v9 | ||
with: | ||
path: ${{ runner.temp }}/llvm | ||
key: llvm-14 | ||
|
||
- name: Install LLVM and Clang | ||
uses: KyleMayes/install-llvm-action@v1 | ||
with: | ||
version: "14" | ||
directory: ${{ runner.temp }}/llvm | ||
cached: ${{ steps.cache-llvm.outputs.cache-hit }} | ||
|
||
- name: Run clang-format | ||
run: find -type f \( -name *.h -o -name *.cpp \) | xargs clang-format -style=file -i | ||
|
||
- uses: stefanzweifel/git-auto-commit-action@v4 | ||
with: | ||
commit_message: maintenance | ||
committer_name: clang-format | ||
committer_email: 41898282+github-actions[bot]@users.noreply.github.com | ||
message: 'chore: style formatting' |
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 +1,6 @@ | ||
build/ | ||
[Bb]uild/ | ||
.vs/ | ||
.vscode/ | ||
*.zip | ||
*.timestamp | ||
deploy-*.ps1 |
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,6 +1,6 @@ | ||
[submodule "extern/CommonLibF4"] | ||
path = extern/CommonLibF4 | ||
url = https://github.com/shad0wshayd3/CommonLibF4.git | ||
[submodule "extern/BethesdaCMakeModules"] | ||
path = extern/BethesdaCMakeModules | ||
url = https://github.com/shad0wshayd3/BethesdaCMakeModules.git | ||
[submodule "extern/DKUtil"] | ||
path = extern/DKUtil | ||
url = https://github.com/gottyduke/DKUtil.git |
This file was deleted.
Oops, something went wrong.
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.