From a629fb86f45e82ba47f0fcacccf2e687c183858a Mon Sep 17 00:00:00 2001 From: Seweryn Presnal Date: Mon, 3 Apr 2023 12:20:13 +0200 Subject: [PATCH 01/18] Use CWTools --- .github/workflows/integration_tests.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml index 64a230db4..9ba10e6b8 100644 --- a/.github/workflows/integration_tests.yml +++ b/.github/workflows/integration_tests.yml @@ -1,6 +1,7 @@ name: "Integration tests" on: + pull_request: # TODO: remove it after getting CWTools step to work release: types: [published] @@ -16,10 +17,10 @@ jobs: matrix: save_url: # 2.0 vanilla - - https://mega.nz/file/TR13kB7D#QWT2yFzoS3rSIu9-EkUEdcc-X8jJnhZdXbJvw9jC-dg # Benchmark.rome + # - https://mega.nz/file/TR13kB7D#QWT2yFzoS3rSIu9-EkUEdcc-X8jJnhZdXbJvw9jC-dg # Benchmark.rome # 2.0 with mods - - https://mega.nz/file/id90lRYD#4OBL6N6_87-Nu28wNssm-O-3jmxli0iFzOtI7XVdN1E # Mega_Campaign.rome - - https://mega.nz/file/zQ0wDKya#eiFQCiJ2sjTaolAJGnfQ0_0OS2Q1kf48dIGDlrEoJ9I # Erreinu Atlantikoa Debug Over NameFix.rome + # - https://mega.nz/file/id90lRYD#4OBL6N6_87-Nu28wNssm-O-3jmxli0iFzOtI7XVdN1E # Mega_Campaign.rome + # - https://mega.nz/file/zQ0wDKya#eiFQCiJ2sjTaolAJGnfQ0_0OS2Q1kf48dIGDlrEoJ9I # Erreinu Atlantikoa Debug Over NameFix.rome - https://mega.nz/file/yd1nAZpB#6pXqexexEAXgE04Kll1XYwz_IhRPr42juVIJQ4uKXM8 # The New Rome.rome steps: - uses: actions/checkout@v3 @@ -55,6 +56,12 @@ jobs: working-directory: Debug/ImperatorToCK3 run: | dotnet ImperatorToCK3Converter.dll + - name: "Validate generated mod with CWTools" + uses: cwtools/cwtools-action@v1 + with: + game: ir + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # required, secret is automatically set by github - name: "Cleanup" if: always() run: | From 01859ff0bd506dec5bca65a333551706024e8969 Mon Sep 17 00:00:00 2001 From: Seweryn Presnal Date: Mon, 3 Apr 2023 12:23:29 +0200 Subject: [PATCH 02/18] Annotate all files --- .github/workflows/integration_tests.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml index 9ba10e6b8..f0a5a5b5b 100644 --- a/.github/workflows/integration_tests.yml +++ b/.github/workflows/integration_tests.yml @@ -60,6 +60,8 @@ jobs: uses: cwtools/cwtools-action@v1 with: game: ir + modPath: Debug/ImperatorToCK3/output + changedFilesOnly: "0" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # required, secret is automatically set by github - name: "Cleanup" From b4aabb1b8e51273026bd897a7cda168ac781fe6b Mon Sep 17 00:00:00 2001 From: Seweryn Presnal Date: Mon, 3 Apr 2023 12:25:49 +0200 Subject: [PATCH 03/18] Fix game name --- .github/workflows/integration_tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml index f0a5a5b5b..eb8e86a58 100644 --- a/.github/workflows/integration_tests.yml +++ b/.github/workflows/integration_tests.yml @@ -59,7 +59,7 @@ jobs: - name: "Validate generated mod with CWTools" uses: cwtools/cwtools-action@v1 with: - game: ir + game: ck3 modPath: Debug/ImperatorToCK3/output changedFilesOnly: "0" env: From 17e4cc45516320e1da3a7a7eba614bf9b6514aa8 Mon Sep 17 00:00:00 2001 From: Seweryn Presnal Date: Mon, 3 Apr 2023 12:28:23 +0200 Subject: [PATCH 04/18] Update integration_tests.yml --- .github/workflows/integration_tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml index eb8e86a58..67d4e9015 100644 --- a/.github/workflows/integration_tests.yml +++ b/.github/workflows/integration_tests.yml @@ -57,7 +57,7 @@ jobs: run: | dotnet ImperatorToCK3Converter.dll - name: "Validate generated mod with CWTools" - uses: cwtools/cwtools-action@v1 + uses: cwtools/cwtools-action@v1.0.0 with: game: ck3 modPath: Debug/ImperatorToCK3/output From f786ef423f9f715cc30b3ab0e745e76d9cd8715e Mon Sep 17 00:00:00 2001 From: Seweryn Presnal Date: Mon, 3 Apr 2023 12:45:44 +0200 Subject: [PATCH 05/18] validate_generated_mod stub --- .github/workflows/integration_tests.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml index 67d4e9015..3f0bcbe59 100644 --- a/.github/workflows/integration_tests.yml +++ b/.github/workflows/integration_tests.yml @@ -56,6 +56,17 @@ jobs: working-directory: Debug/ImperatorToCK3 run: | dotnet ImperatorToCK3Converter.dll + - name: "Upload artifact with generated mod" + # TODO: use some action for this + - name: "Cleanup" + if: always() + run: | + Get-ChildItem -Path $Env:GITHUB_WORKSPACE -Recurse -Force | Remove-Item -force -recurse + + validate_generated_mod: + runs-on: [self-hosted, linux] + steps: + # TODO: download artifacts from test conversion job above - name: "Validate generated mod with CWTools" uses: cwtools/cwtools-action@v1.0.0 with: From dec4a9ea281d3785764e5313ea33a2077741e40f Mon Sep 17 00:00:00 2001 From: Seweryn Presnal Date: Mon, 3 Apr 2023 13:24:37 +0200 Subject: [PATCH 06/18] Use artifact to transfer generated mod between jobs --- .github/workflows/integration_tests.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml index 3f0bcbe59..4267269f2 100644 --- a/.github/workflows/integration_tests.yml +++ b/.github/workflows/integration_tests.yml @@ -57,7 +57,10 @@ jobs: run: | dotnet ImperatorToCK3Converter.dll - name: "Upload artifact with generated mod" - # TODO: use some action for this + uses: actions/upload-artifact@v3 + with: + name: generated-mod-artifact # TODO: add unique ID for each save or only upload artifact from one save + path: Debug/ImperatorToCK3/output/ - name: "Cleanup" if: always() run: | @@ -66,7 +69,12 @@ jobs: validate_generated_mod: runs-on: [self-hosted, linux] steps: - # TODO: download artifacts from test conversion job above + - name: "Download generated mod" + uses: actions/download-artifact@v3 + with: + name: generated-mod-artifact + - name: "Display structure of downloaded files" + run: ls -R - name: "Validate generated mod with CWTools" uses: cwtools/cwtools-action@v1.0.0 with: From 8052233933ea0a81cd5cdef6e6b6bf1c8f1060a7 Mon Sep 17 00:00:00 2001 From: Seweryn Presnal Date: Mon, 3 Apr 2023 13:29:18 +0200 Subject: [PATCH 07/18] Update integration_tests.yml --- .github/workflows/integration_tests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml index 4267269f2..5ef6e3357 100644 --- a/.github/workflows/integration_tests.yml +++ b/.github/workflows/integration_tests.yml @@ -67,6 +67,7 @@ jobs: Get-ChildItem -Path $Env:GITHUB_WORKSPACE -Recurse -Force | Remove-Item -force -recurse validate_generated_mod: + needs: run_test_conversions runs-on: [self-hosted, linux] steps: - name: "Download generated mod" From 48f54e90071c5ee6674f4983a7f104db86a7ed59 Mon Sep 17 00:00:00 2001 From: Seweryn Presnal Date: Mon, 3 Apr 2023 14:02:00 +0200 Subject: [PATCH 08/18] Update integration_tests.yml --- .github/workflows/integration_tests.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml index 5ef6e3357..5be4afb8d 100644 --- a/.github/workflows/integration_tests.yml +++ b/.github/workflows/integration_tests.yml @@ -84,7 +84,3 @@ jobs: changedFilesOnly: "0" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # required, secret is automatically set by github - - name: "Cleanup" - if: always() - run: | - Get-ChildItem -Path $Env:GITHUB_WORKSPACE -Recurse -Force | Remove-Item -force -recurse From 673dd356a497c743dc5a5f6968ed353f7712da78 Mon Sep 17 00:00:00 2001 From: Seweryn Presnal Date: Mon, 3 Apr 2023 14:19:54 +0200 Subject: [PATCH 09/18] Bump cwtools action version --- .github/workflows/integration_tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml index 5be4afb8d..e2429fc85 100644 --- a/.github/workflows/integration_tests.yml +++ b/.github/workflows/integration_tests.yml @@ -77,7 +77,7 @@ jobs: - name: "Display structure of downloaded files" run: ls -R - name: "Validate generated mod with CWTools" - uses: cwtools/cwtools-action@v1.0.0 + uses: cwtools/cwtools-action@v1.1.0 with: game: ck3 modPath: Debug/ImperatorToCK3/output From 09b6268a29aec0d2efc426c289835eb5b2e65d42 Mon Sep 17 00:00:00 2001 From: Seweryn Presnal Date: Mon, 3 Apr 2023 14:39:12 +0200 Subject: [PATCH 10/18] Update integration_tests.yml --- .github/workflows/integration_tests.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml index e2429fc85..753886e7b 100644 --- a/.github/workflows/integration_tests.yml +++ b/.github/workflows/integration_tests.yml @@ -57,9 +57,10 @@ jobs: run: | dotnet ImperatorToCK3Converter.dll - name: "Upload artifact with generated mod" + if: ${{ matrix.save_url == "https://mega.nz/file/yd1nAZpB#6pXqexexEAXgE04Kll1XYwz_IhRPr42juVIJQ4uKXM8" }} uses: actions/upload-artifact@v3 with: - name: generated-mod-artifact # TODO: add unique ID for each save or only upload artifact from one save + name: generated-mod-artifact path: Debug/ImperatorToCK3/output/ - name: "Cleanup" if: always() @@ -68,7 +69,7 @@ jobs: validate_generated_mod: needs: run_test_conversions - runs-on: [self-hosted, linux] + runs-on: ubuntu-latest steps: - name: "Download generated mod" uses: actions/download-artifact@v3 @@ -84,3 +85,9 @@ jobs: changedFilesOnly: "0" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # required, secret is automatically set by github + - name: "Upload artifact" + if: always() # so even if the check fails, the log is uploaded + uses: actions/upload-artifact@v3 + with: + name: cwtools_output + path: output.json From 8e3fbf142f0739d05f679771d52a78d62d2ac4c2 Mon Sep 17 00:00:00 2001 From: Seweryn Presnal Date: Mon, 3 Apr 2023 14:41:56 +0200 Subject: [PATCH 11/18] Update integration_tests.yml --- .github/workflows/integration_tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml index 753886e7b..43ff615d2 100644 --- a/.github/workflows/integration_tests.yml +++ b/.github/workflows/integration_tests.yml @@ -57,7 +57,7 @@ jobs: run: | dotnet ImperatorToCK3Converter.dll - name: "Upload artifact with generated mod" - if: ${{ matrix.save_url == "https://mega.nz/file/yd1nAZpB#6pXqexexEAXgE04Kll1XYwz_IhRPr42juVIJQ4uKXM8" }} + if: matrix.save_url == "https://mega.nz/file/yd1nAZpB#6pXqexexEAXgE04Kll1XYwz_IhRPr42juVIJQ4uKXM8" uses: actions/upload-artifact@v3 with: name: generated-mod-artifact From 06c550606e73e5ae3340a103e9e93a20111cd0ea Mon Sep 17 00:00:00 2001 From: Seweryn Presnal Date: Mon, 3 Apr 2023 14:43:29 +0200 Subject: [PATCH 12/18] Update integration_tests.yml --- .github/workflows/integration_tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml index 43ff615d2..d3218152f 100644 --- a/.github/workflows/integration_tests.yml +++ b/.github/workflows/integration_tests.yml @@ -57,7 +57,7 @@ jobs: run: | dotnet ImperatorToCK3Converter.dll - name: "Upload artifact with generated mod" - if: matrix.save_url == "https://mega.nz/file/yd1nAZpB#6pXqexexEAXgE04Kll1XYwz_IhRPr42juVIJQ4uKXM8" + if: ${{ matrix.save_url }} == "https://mega.nz/file/yd1nAZpB#6pXqexexEAXgE04Kll1XYwz_IhRPr42juVIJQ4uKXM8" uses: actions/upload-artifact@v3 with: name: generated-mod-artifact From 0260e21025ab86200c1358b1d1e9a15ef3e93457 Mon Sep 17 00:00:00 2001 From: Seweryn Presnal Date: Mon, 3 Apr 2023 15:01:30 +0200 Subject: [PATCH 13/18] Update integration_tests.yml --- .github/workflows/integration_tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml index d3218152f..b8db0a22e 100644 --- a/.github/workflows/integration_tests.yml +++ b/.github/workflows/integration_tests.yml @@ -81,7 +81,7 @@ jobs: uses: cwtools/cwtools-action@v1.1.0 with: game: ck3 - modPath: Debug/ImperatorToCK3/output + modPath: ./save changedFilesOnly: "0" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # required, secret is automatically set by github From 7608a794a1d208c15242500348f75a6659b91087 Mon Sep 17 00:00:00 2001 From: Seweryn Presnal Date: Mon, 3 Apr 2023 18:16:47 +0200 Subject: [PATCH 14/18] Update integration_tests.yml --- .github/workflows/integration_tests.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml index b8db0a22e..a15d1f327 100644 --- a/.github/workflows/integration_tests.yml +++ b/.github/workflows/integration_tests.yml @@ -81,7 +81,6 @@ jobs: uses: cwtools/cwtools-action@v1.1.0 with: game: ck3 - modPath: ./save changedFilesOnly: "0" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # required, secret is automatically set by github From 4d808d90756109a77c48d01dcff947a1abff1e09 Mon Sep 17 00:00:00 2001 From: Seweryn Presnal Date: Sat, 17 Jun 2023 22:23:44 +0200 Subject: [PATCH 15/18] Update integration_tests.yml --- .github/workflows/integration_tests.yml | 128 ++++++++++++------------ 1 file changed, 64 insertions(+), 64 deletions(-) diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml index a15d1f327..f35ffd9e0 100644 --- a/.github/workflows/integration_tests.yml +++ b/.github/workflows/integration_tests.yml @@ -21,72 +21,72 @@ jobs: # 2.0 with mods # - https://mega.nz/file/id90lRYD#4OBL6N6_87-Nu28wNssm-O-3jmxli0iFzOtI7XVdN1E # Mega_Campaign.rome # - https://mega.nz/file/zQ0wDKya#eiFQCiJ2sjTaolAJGnfQ0_0OS2Q1kf48dIGDlrEoJ9I # Erreinu Atlantikoa Debug Over NameFix.rome - - https://mega.nz/file/yd1nAZpB#6pXqexexEAXgE04Kll1XYwz_IhRPr42juVIJQ4uKXM8 # The New Rome.rome + - https://mega.nz/file/yd1nAZpB#6pXqexexEAXgE04Kll1XYwz_IhRPr42juVIJQ4uKXM8 # The New Rome.rome steps: - - uses: actions/checkout@v3 - with: - fetch-depth: 0 - submodules: recursive - - name: "Check if docs folders exist" - run: | - ls "C:\Users\Administrator\Documents\Paradox Interactive\Imperator" - ls "C:\Users\Administrator\Documents\Paradox Interactive\Imperator\mod" - ls "C:\Users\Administrator\Documents\Paradox Interactive\Crusader Kings III\mod" - - name: "Setup Dotnet for use with actions" - uses: actions/setup-dotnet@v3 - with: - global-json-file: global.json - - name: "Build converter backend" - working-directory: ImperatorToCK3 - run: | - dotnet build -c:Debug - - name: "Download I:R save from MEGA" - run: | - & "C:/Program Files/megatools/megatools.exe" dl --path "save.rome" ${{ matrix.save_url }} - - name: "Create configuration.txt" - working-directory: Debug/ImperatorToCK3 - run: | - echo 'ImperatorDirectory = "C:\Program Files (x86)\Steam\steamapps\common\ImperatorRome"' > configuration.txt - echo 'ImperatorDocDirectory = "C:\Users\Administrator\Documents\Paradox Interactive\Imperator"' >> configuration.txt - echo 'CK3directory = "C:\Program Files (x86)\Steam\steamapps\common\Crusader Kings III"' >> configuration.txt - echo 'targetGameModPath = "C:\Users\Administrator\Documents\Paradox Interactive\Crusader Kings III\mod"' >> configuration.txt - echo 'SaveGame = "../../save.rome"' >> configuration.txt - cat configuration.txt - - name: "Run conversion" - working-directory: Debug/ImperatorToCK3 - run: | - dotnet ImperatorToCK3Converter.dll - - name: "Upload artifact with generated mod" - if: ${{ matrix.save_url }} == "https://mega.nz/file/yd1nAZpB#6pXqexexEAXgE04Kll1XYwz_IhRPr42juVIJQ4uKXM8" - uses: actions/upload-artifact@v3 - with: - name: generated-mod-artifact - path: Debug/ImperatorToCK3/output/ - - name: "Cleanup" - if: always() - run: | - Get-ChildItem -Path $Env:GITHUB_WORKSPACE -Recurse -Force | Remove-Item -force -recurse - + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + submodules: recursive + - name: "Check if docs folders exist" + run: | + ls "C:\Users\Administrator\Documents\Paradox Interactive\Imperator" + ls "C:\Users\Administrator\Documents\Paradox Interactive\Imperator\mod" + ls "C:\Users\Administrator\Documents\Paradox Interactive\Crusader Kings III\mod" + - name: "Setup Dotnet for use with actions" + uses: actions/setup-dotnet@v3 + with: + global-json-file: global.json + - name: "Build converter backend" + working-directory: ImperatorToCK3 + run: | + dotnet build -c:Debug + - name: "Download I:R save from MEGA" + run: | + & "C:/Program Files/megatools/megatools.exe" dl --path "save.rome" ${{ matrix.save_url }} + - name: "Create configuration.txt" + working-directory: Debug/ImperatorToCK3 + run: | + echo 'ImperatorDirectory = "C:\Program Files (x86)\Steam\steamapps\common\ImperatorRome"' > configuration.txt + echo 'ImperatorDocDirectory = "C:\Users\Administrator\Documents\Paradox Interactive\Imperator"' >> configuration.txt + echo 'CK3directory = "C:\Program Files (x86)\Steam\steamapps\common\Crusader Kings III"' >> configuration.txt + echo 'targetGameModPath = "C:\Users\Administrator\Documents\Paradox Interactive\Crusader Kings III\mod"' >> configuration.txt + echo 'SaveGame = "../../save.rome"' >> configuration.txt + cat configuration.txt + - name: "Run conversion" + working-directory: Debug/ImperatorToCK3 + run: | + dotnet ImperatorToCK3Converter.dll + - name: "Upload artifact with generated mod" + if: ${{ matrix.save_url }} == "https://mega.nz/file/yd1nAZpB#6pXqexexEAXgE04Kll1XYwz_IhRPr42juVIJQ4uKXM8" + uses: actions/upload-artifact@v3 + with: + name: generated-mod-artifact + path: Debug/ImperatorToCK3/output/ + - name: "Cleanup" + if: always() + run: | + Get-ChildItem -Path $Env:GITHUB_WORKSPACE -Recurse -Force | Remove-Item -force -recurse + validate_generated_mod: needs: run_test_conversions runs-on: ubuntu-latest steps: - - name: "Download generated mod" - uses: actions/download-artifact@v3 - with: - name: generated-mod-artifact - - name: "Display structure of downloaded files" - run: ls -R - - name: "Validate generated mod with CWTools" - uses: cwtools/cwtools-action@v1.1.0 - with: - game: ck3 - changedFilesOnly: "0" - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # required, secret is automatically set by github - - name: "Upload artifact" - if: always() # so even if the check fails, the log is uploaded - uses: actions/upload-artifact@v3 - with: - name: cwtools_output - path: output.json + - name: "Download generated mod" + uses: actions/download-artifact@v3 + with: + name: generated-mod-artifact + - name: "Display structure of downloaded files" + run: ls -R + - name: "Validate generated mod with CWTools" + uses: cwtools/cwtools-action@v1.1.0 + with: + game: ck3 + changedFilesOnly: "0" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # required, secret is automatically set by github + - name: "Upload artifact" + if: always() # so even if the check fails, the log is uploaded + uses: actions/upload-artifact@v3 + with: + name: cwtools_output + path: output.json From a5c881e5f4efd5132af59b1f376ebdc2c1cf8ef0 Mon Sep 17 00:00:00 2001 From: Seweryn Presnal Date: Mon, 17 Jul 2023 15:41:14 +0200 Subject: [PATCH 16/18] Add ck3-tiger to mod validation workflow --- .github/workflows/integration_tests.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml index f35ffd9e0..2f7b383af 100644 --- a/.github/workflows/integration_tests.yml +++ b/.github/workflows/integration_tests.yml @@ -77,6 +77,10 @@ jobs: name: generated-mod-artifact - name: "Display structure of downloaded files" run: ls -R + - name: "Validate generated mod with ck3-tiger" + run: | + sudo wget -c https://github.com/amtep/ck3-tiger/releases/download/v0.6.1/ck3-tiger-linux-v0.6.1.tar.gz && tar -xzf ck3-tiger-linux-v0.6.1.tar.gz + ./ck3-tiger-linux-v0.6.1/ck3-tiger generated-mod-artifact/test.mod - name: "Validate generated mod with CWTools" uses: cwtools/cwtools-action@v1.1.0 with: From e3621110025f2ed4a4bc6b6271ed326b59dc6d39 Mon Sep 17 00:00:00 2001 From: IhateTrains Date: Mon, 17 Jul 2023 16:44:48 +0200 Subject: [PATCH 17/18] Specify ck3 path for ck3-tiger --- .github/workflows/integration_tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml index 2f7b383af..404a636bf 100644 --- a/.github/workflows/integration_tests.yml +++ b/.github/workflows/integration_tests.yml @@ -80,7 +80,7 @@ jobs: - name: "Validate generated mod with ck3-tiger" run: | sudo wget -c https://github.com/amtep/ck3-tiger/releases/download/v0.6.1/ck3-tiger-linux-v0.6.1.tar.gz && tar -xzf ck3-tiger-linux-v0.6.1.tar.gz - ./ck3-tiger-linux-v0.6.1/ck3-tiger generated-mod-artifact/test.mod + ./ck3-tiger-linux-v0.6.1/ck3-tiger --ck3 "C:\Program Files (x86)\Steam\steamapps\common\Crusader Kings III" generated-mod-artifact/test.mod - name: "Validate generated mod with CWTools" uses: cwtools/cwtools-action@v1.1.0 with: From 865313c31a958ba83853f18bf83f5cd37b8d5e56 Mon Sep 17 00:00:00 2001 From: IhateTrains Date: Mon, 17 Jul 2023 17:27:34 +0200 Subject: [PATCH 18/18] Update integration_tests.yml --- .github/workflows/integration_tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml index 404a636bf..a25d92534 100644 --- a/.github/workflows/integration_tests.yml +++ b/.github/workflows/integration_tests.yml @@ -80,7 +80,7 @@ jobs: - name: "Validate generated mod with ck3-tiger" run: | sudo wget -c https://github.com/amtep/ck3-tiger/releases/download/v0.6.1/ck3-tiger-linux-v0.6.1.tar.gz && tar -xzf ck3-tiger-linux-v0.6.1.tar.gz - ./ck3-tiger-linux-v0.6.1/ck3-tiger --ck3 "C:\Program Files (x86)\Steam\steamapps\common\Crusader Kings III" generated-mod-artifact/test.mod + ./ck3-tiger-linux-v0.6.1/ck3-tiger --ck3 "C:/Program Files (x86)/Steam/steamapps/common/Crusader Kings III" generated-mod-artifact/test.mod - name: "Validate generated mod with CWTools" uses: cwtools/cwtools-action@v1.1.0 with: