From 85a1724b2739597bc2d252a544b17d29d336f4b5 Mon Sep 17 00:00:00 2001 From: Ismael DIAKITE Date: Wed, 1 Apr 2026 14:35:23 +0200 Subject: [PATCH 1/2] added workflow dispatch to run manually --- .github/workflows/commit_stage.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/commit_stage.yml b/.github/workflows/commit_stage.yml index 93ed4bab..6f6d134d 100644 --- a/.github/workflows/commit_stage.yml +++ b/.github/workflows/commit_stage.yml @@ -1,6 +1,7 @@ name: Commit stage on : + workflow_dispatch: push: branches: [ dev, main ] pull_request: From cc1d184f6af82f070b27c9e697a67b0df3105123 Mon Sep 17 00:00:00 2001 From: Ismael DIAKITE Date: Wed, 1 Apr 2026 15:10:27 +0200 Subject: [PATCH 2/2] debug to find the right path --- .github/workflows/debug_swig.yml | 48 ++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 .github/workflows/debug_swig.yml diff --git a/.github/workflows/debug_swig.yml b/.github/workflows/debug_swig.yml new file mode 100644 index 00000000..9583d3de --- /dev/null +++ b/.github/workflows/debug_swig.yml @@ -0,0 +1,48 @@ +name: Debug SWIG PCRE2 + +on: + workflow_dispatch: + +jobs: + debug-pcre2: + runs-on: windows-latest + steps: + - name: Install PCRE2 via NuGet + run: | + nuget install PCRE2 -OutputDirectory $env:GITHUB_WORKSPACE\tools + shell: pwsh + + - name: PCRE2 package - full tree structure + run: Get-ChildItem -Recurse $env:GITHUB_WORKSPACE\tools\PCRE2* | Select-Object FullName + shell: pwsh + + - name: PCRE2 package - DLLs and LIBs only + run: Get-ChildItem -Recurse $env:GITHUB_WORKSPACE\tools\PCRE2* -Include *.dll,*.lib | Select-Object FullName + shell: pwsh + + - name: Clone SWIG at same commit as la-swig action + run: | + git clone https://github.com/niclasr/swig.git swig + cd swig + git checkout aa3dcdb1 + shell: bash + + - name: Show FindPCRE2.cmake search logic + run: Get-Content swig\Tools\cmake\FindPCRE2.cmake + shell: pwsh + + - name: Test CMake configure with PCRE2_ROOT + run: | + cmake -G "Visual Studio 17 2022" -A x64 ` + -DPCRE2_ROOT="$env:GITHUB_WORKSPACE\tools\PCRE2.10.47.0" ` + -S swig -B swig\build + shell: pwsh + continue-on-error: true + + - name: Test CMake configure with CMAKE_PREFIX_PATH + run: | + cmake -G "Visual Studio 17 2022" -A x64 ` + -DCMAKE_PREFIX_PATH="$env:GITHUB_WORKSPACE\tools\PCRE2.10.47.0" ` + -S swig -B swig\build2 + shell: pwsh + continue-on-error: true