forked from aers/FFXIVClientStructs
-
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
Showing
796 changed files
with
498,923 additions
and
687,242 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
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,5 @@ | ||
# Auto detect text files and perform LF normalization | ||
* text=auto | ||
* text eol=crlf | ||
*.png binary | ||
|
||
ida/ffxiv_client_structs*.h linguist-generated=true |
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,29 @@ | ||
name: CExporter Check | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
paths: | ||
- 'FFXIVClientStructs/**/*.cs' | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: 7.0.x | ||
- name: Install dependencies | ||
run: dotnet restore | ||
- name: Run CExporter | ||
working-directory: ./ida | ||
run: dotnet run --project CExporter/CExporter.csproj -c Release | ||
- name: Tar CExport | ||
run: tar -czvf CExport.tar.gz ./ida/*.h | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: CExport | ||
path: CExport.tar.gz | ||
retention-days: 7 |
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,50 @@ | ||
name: Format Update | ||
|
||
on: | ||
schedule: | ||
- cron: '0 0 */1 * *' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
update: | ||
runs-on: ubuntu-latest | ||
if: github.repository_owner == 'aers' | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 2 | ||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: '7.0.x' | ||
- name: Restore | ||
run: dotnet restore | ||
- name: Run Format | ||
run: dotnet format | ||
- name: Check for changes | ||
id: git-check | ||
run: | | ||
echo "========== check paths of modified files ==========" | ||
git diff --name-only -- *.cs > files.txt | ||
echo "=============== list modified files ===============" | ||
tail files.txt | ||
while IFS= read -r file | ||
do | ||
echo $file | ||
if [[ $file != *.cs ]]; then | ||
echo "This modified file is not in a c# file." | ||
echo "has_changes=false" >> $GITHUB_OUTPUT | ||
break | ||
else | ||
echo "has_changes=true" >> $GITHUB_OUTPUT | ||
fi | ||
done < files.txt | ||
rm files.txt | ||
- name: Commit Format Structs | ||
if: steps.git-check.outputs.has_changes == 'true' | ||
run: | | ||
git config user.email "41898282+github-actions[bot]@users.noreply.github.com" | ||
git config user.name "github-actions[bot]" | ||
git add . | ||
git commit -m "Update Format" | ||
git push |
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,51 @@ | ||
name: Struct Update | ||
|
||
on: | ||
schedule: | ||
- cron: '0 0 * * 1' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
update: | ||
runs-on: ubuntu-latest | ||
if: github.repository_owner == 'aers' | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 2 | ||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: '7.0.x' | ||
- name: Restore | ||
run: dotnet restore | ||
- name: Run CExporter | ||
working-directory: ./ida | ||
run: dotnet run --project CExporter/CExporter.csproj -c Release | ||
- name: Check for changes | ||
id: git-check | ||
run: | | ||
echo "========== check paths of modified files ==========" | ||
git diff --name-only -- ida > files.txt | ||
echo "=============== list modified files ===============" | ||
tail files.txt | ||
while IFS= read -r file | ||
do | ||
echo $file | ||
if [[ $file != ida/* ]]; then | ||
echo "This modified file is not under the 'ida' folder." | ||
echo "has_changes=false" >> $GITHUB_OUTPUT | ||
break | ||
else | ||
echo "has_changes=true" >> $GITHUB_OUTPUT | ||
fi | ||
done < files.txt | ||
rm files.txt | ||
- name: Commit C Structs | ||
if: steps.git-check.outputs.has_changes == 'true' | ||
run: | | ||
git config user.email "41898282+github-actions[bot]@users.noreply.github.com" | ||
git config user.name "github-actions[bot]" | ||
git add . | ||
git commit -m "Update structs" | ||
git push |
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 |
---|---|---|
|
@@ -354,3 +354,7 @@ MigrationBackup/ | |
|
||
# JetBrains | ||
.idea/ | ||
|
||
# VSCode | ||
.vscode/ | ||
ida/errors.txt |
Oops, something went wrong.