-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 0.0 Skeleton Fill * wf
- Loading branch information
Showing
6,297 changed files
with
1,179,641 additions
and
70 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
BasedOnStyle: Microsoft | ||
Language: Cpp | ||
|
||
AccessModifierOffset: -1 | ||
AlignAfterOpenBracket: DontAlign | ||
AllowAllArgumentsOnNextLine: false | ||
AllowAllConstructorInitializersOnNextLine: false | ||
AllowAllParametersOfDeclarationOnNextLine: false | ||
AllowShortBlocksOnASingleLine: false | ||
AllowShortCaseLabelsOnASingleLine: false | ||
AllowShortFunctionsOnASingleLine: InlineOnly | ||
AllowShortIfStatementsOnASingleLine: false | ||
AllowShortLambdasOnASingleLine: false | ||
AllowShortLoopsOnASingleLine: false | ||
AlwaysBreakAfterReturnType: None | ||
AlwaysBreakBeforeMultilineStrings: true | ||
BinPackArguments: false | ||
BinPackParameters: false | ||
BraceWrapping: | ||
BeforeLambdaBody: false | ||
BreakBeforeBraces: Custom | ||
BreakConstructorInitializers: AfterColon | ||
ColumnLimit: 160 | ||
Cpp11BracedListStyle: true | ||
IndentCaseLabels: true | ||
IndentWidth: 3 | ||
DerivePointerAlignment: false | ||
MaxEmptyLinesToKeep: 3 | ||
PointerAlignment: Left | ||
SortIncludes: true | ||
SortUsingDeclarations: true | ||
SpaceBeforeAssignmentOperators: true | ||
SpaceBeforeCtorInitializerColon: false | ||
SpaceBeforeInheritanceColon: false | ||
SpaceBeforeRangeBasedForLoopColon: false | ||
TabWidth: 3 | ||
UseTab: Always |
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 @@ | ||
patreon: ParadoxGameConverters |
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,17 @@ | ||
name: clang-format Check | ||
on: [push, pull_request] | ||
jobs: | ||
formatting-check: | ||
name: Formatting Check | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
path: | ||
- 'EU4ToVic3/Source' | ||
- 'EU4ToVic3Tests' | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Run clang-format style check for C/C++ programs. | ||
uses: jidicula/[email protected] | ||
with: | ||
check-path: ${{ matrix.path }} |
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,99 @@ | ||
name: "CodeQL" | ||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
schedule: | ||
- cron: '0 16 * * 6' | ||
|
||
jobs: | ||
analyze_main: | ||
name: Analyze Local | ||
if: github.repository_owner == 'ParadoxGameConverters' | ||
runs-on: [self-hosted, linux] | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
language: ['cpp'] | ||
|
||
steps: | ||
- name: "Cloning repo" | ||
uses: actions/checkout@v4 | ||
|
||
- name: "Cloning selective submodules" | ||
run: | | ||
git submodule update --init --recursive commonItems | ||
git -c submodule."external/commonItems".update=none \ | ||
submodule update --init --recursive Fronter | ||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v3 | ||
with: | ||
languages: ${{ matrix.language }} | ||
|
||
- name: Build solution | ||
run: | | ||
chmod u+x build_linux.sh | ||
./build_linux.sh | ||
- name: Run Tests | ||
run: | | ||
cd test/Release-Linux | ||
./EU5ToVic3Tests | ||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v3 | ||
|
||
- name: Cleanup | ||
uses: colpal/actions-clean@v1 | ||
if: always() | ||
|
||
analyze: | ||
name: Analyze Foreign | ||
if: github.repository_owner != 'ParadoxGameConverters' | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
language: ['cpp'] | ||
|
||
steps: | ||
- name: "Cloning repo" | ||
uses: actions/checkout@v4 | ||
|
||
- name: "Cloning selective submodules" | ||
run: | | ||
git submodule update --init --recursive commonItems | ||
git -c submodule."external/commonItems".update=none \ | ||
submodule update --init --recursive Fronter | ||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v3 | ||
with: | ||
languages: ${{ matrix.language }} | ||
|
||
- name: Install Prerequisites | ||
run: | | ||
sudo apt-key adv --fetch-keys https://repos.codelite.org/CodeLite.asc | ||
sudo apt-add-repository 'deb https://repos.codelite.org/wx3.2/ubuntu/ jammy universe' | ||
sudo add-apt-repository ppa:ubuntu-toolchain-r/test | ||
sudo apt-get update | ||
sudo apt-get install libcurl4-openssl-dev libwxbase3.2-0-unofficial \ | ||
libwxbase3.2unofficial-dev libwxgtk3.2-0-unofficial libwxgtk3.2unofficial-dev \ | ||
wx3.2-headers wx-common libnotify-dev libnotify4 libcurl4-openssl-dev | ||
- name: Build solution | ||
run: | | ||
chmod u+x build_linux_foreign.sh | ||
./build_linux_foreign.sh | ||
- name: Run Tests | ||
run: | | ||
cd test/Release-Linux | ||
./EU5ToVic3Tests | ||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v3 |
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,24 @@ | ||
name: "Publish commit id" | ||
|
||
on: | ||
push: | ||
branches: [master] | ||
|
||
jobs: | ||
publish_id: | ||
if: github.repository_owner == 'ParadoxGameConverters' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Publish commit id | ||
uses: ParadoxGameConverters/publish_commit_id@main | ||
env: | ||
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} | ||
with: | ||
destination_file: 'EU5ToVic3.txt' | ||
user_email: '[email protected]' | ||
user_name: 'idhrendur' | ||
destination_branch: 'main' | ||
commit_message: "Publish EU5ToVic3's commit id" |
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,102 @@ | ||
name: Build, test and publish | ||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build_test_and_publish: | ||
name: Build, test and publish local | ||
if: github.repository_owner == 'ParadoxGameConverters' | ||
runs-on: [self-hosted, windows] | ||
|
||
steps: | ||
- name: "Cloning repo" | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: "Cloning selective submodules" | ||
run: | | ||
git submodule update --init --recursive commonItems | ||
git -c submodule."external/commonItems".update=none ` | ||
submodule update --init --recursive Fronter | ||
- name: "Get previous tag" | ||
if: ${{ github.event_name == 'push' }} | ||
id: previoustag | ||
uses: "WyriHaximus/github-action-get-previous-tag@v1" | ||
|
||
- name: "Build solution" | ||
run: | | ||
cd "C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\" | ||
.\MSBuild.exe -m -p:Configuration=Release $Env:GITHUB_WORKSPACE\EU5ToVic3.sln | ||
- name: "Run tests" | ||
run: | | ||
cd $Env:GITHUB_WORKSPACE\Release-Tests\ | ||
.\EU5ToVic3Tests.exe | ||
- name: "Prepare release" | ||
run: | | ||
cd "C:\Program Files\7-Zip\" | ||
.\7z.exe a $Env:GITHUB_WORKSPACE\EU5ToVic3-0.0Aadvark-win-x64.zip $Env:GITHUB_WORKSPACE\Release\* | ||
cp $Env:GITHUB_WORKSPACE\EU5ToVic3-0.0Aadvark-win-x64.zip $Env:GITHUB_WORKSPACE\EU5ToVic3-latest-win-x64.zip | ||
- name: "Prepare installer" | ||
run: | | ||
c:\"Program Files (x86)\Inno Setup 6\iscc" EU5ToVic3-Installer.iss | ||
cp $Env:GITHUB_WORKSPACE\Output\EU5ToVic3-latest-win-x64.exe $Env:GITHUB_WORKSPACE\Output\EU5ToVic3-0.0Aadvark-win-x64.exe | ||
- name: "Upload binaries to release" | ||
if: ${{ github.event_name == 'push' }} | ||
uses: ncipollo/release-action@v1 | ||
with: | ||
tag: ${{ steps.previoustag.outputs.tag }} | ||
allowUpdates: true | ||
omitBodyDuringUpdate: true | ||
omitNameDuringUpdate: true | ||
artifacts: EU5ToVic3-0.0Aadvark-win-x64.zip, Output\EU5ToVic3-0.0Aadvark-win-x64.exe | ||
token: ${{ secrets.API_TOKEN_GITHUB }} | ||
|
||
- name: "Upload binaries to archive" | ||
if: ${{ github.event_name == 'push' }} | ||
uses: ncipollo/release-action@v1 | ||
with: | ||
tag: windows_development_build | ||
allowUpdates: true | ||
omitBodyDuringUpdate: true | ||
omitNameDuringUpdate: true | ||
artifacts: EU5ToVic3-0.0Aadvark-win-x64.zip, EU5ToVic3-latest-win-x64.zip, Output\EU5ToVic3-0.0Aadvark-win-x64.exe, Output\EU5ToVic3-latest-win-x64.exe | ||
token: ${{ secrets.API_TOKEN_GITHUB }} | ||
|
||
- name: "Cleanup" | ||
if: always() | ||
run: | | ||
Get-ChildItem -Path $Env:GITHUB_WORKSPACE -Recurse -Force | Remove-Item -force -recurse | ||
build_test: | ||
name: Build and test foreign | ||
if: github.repository_owner != 'ParadoxGameConverters' | ||
runs-on: windows-2022 | ||
|
||
steps: | ||
- name: "Cloning repo" | ||
uses: actions/checkout@v4 | ||
|
||
- name: "Cloning selective submodules" | ||
run: | | ||
git submodule update --init --recursive commonItems | ||
git -c submodule."external/commonItems".update=none ` | ||
submodule update --init --recursive Fronter | ||
- name: "Build solution" | ||
run: | | ||
cd "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\" | ||
.\MSBuild.exe -m -p:Configuration=Release $Env:GITHUB_WORKSPACE\EU5ToVic3.sln | ||
- name: "Run tests" | ||
run: | | ||
cd $Env:GITHUB_WORKSPACE\Release-Tests\ | ||
.\EU5ToVic3Tests.exe |
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,48 +1,26 @@ | ||
# Wordpress - ignore core, configuration, examples, uploads and logs. | ||
# https://github.com/github/gitignore/blob/main/WordPress.gitignore | ||
|
||
# Core | ||
# | ||
# Note: if you want to stage/commit WP core files | ||
# you can delete this whole section/until Configuration. | ||
/wp-admin/ | ||
/wp-content/index.php | ||
/wp-content/languages | ||
/wp-content/plugins/index.php | ||
/wp-content/themes/index.php | ||
/wp-includes/ | ||
/index.php | ||
/license.txt | ||
/readme.html | ||
/wp-*.php | ||
/xmlrpc.php | ||
|
||
# Configuration | ||
wp-config.php | ||
|
||
# Example themes | ||
/wp-content/themes/twenty*/ | ||
|
||
# Example plugin | ||
/wp-content/plugins/hello.php | ||
|
||
# Uploads | ||
/wp-content/uploads/ | ||
|
||
# Log files | ||
*.log | ||
|
||
# htaccess | ||
/.htaccess | ||
|
||
# All plugins | ||
# | ||
# Note: If you wish to whitelist plugins, | ||
# uncomment the next line | ||
#/wp-content/plugins | ||
|
||
# All themes | ||
# | ||
# Note: If you wish to whitelist themes, | ||
# uncomment the next line | ||
#/wp-content/themes | ||
.vs | ||
packages | ||
Release/ | ||
ReleaseIntermediate/ | ||
Release-Linux/ | ||
Release-Tests/ | ||
Debug/ | ||
DebugIntermediate/ | ||
Debug-Tests/ | ||
Analysis | ||
AnalysisIntermediate | ||
testResults | ||
*testResults* | ||
*.opensdf | ||
*.opendb | ||
*.sdf | ||
*.VC.db | ||
*.cppcheck | ||
EU5ToVic3/build | ||
EU5ToVic3/cmake_install.cmake | ||
.gitmodules | ||
tests.xml | ||
*bz2 | ||
*DotSettings.user | ||
lib/ | ||
build/ |
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,6 @@ | ||
[submodule "commonItems"] | ||
path = commonItems | ||
url = https://github.com/ParadoxGameConverters/commonItems.git | ||
[submodule "Fronter"] | ||
path = Fronter | ||
url = https://github.com/ParadoxGameConverters/Fronter.git |
Oops, something went wrong.