From bcd4ded6f764cc35c87072ddb7745fe2d2ff86f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20L=C3=B3pez-Cabanillas?= Date: Thu, 12 Feb 2026 21:16:25 +0100 Subject: [PATCH 1/3] fix github action msys2 --- .github/workflows/win-msys2.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/win-msys2.yml b/.github/workflows/win-msys2.yml index ee89c1b..effa905 100644 --- a/.github/workflows/win-msys2.yml +++ b/.github/workflows/win-msys2.yml @@ -10,7 +10,6 @@ on: env: BUILD_TYPE: RelWithDebInfo INSTALL_LOCATION: SonivoxV4 - TEMP: temp jobs: build: @@ -52,19 +51,16 @@ jobs: ninja:p gtest:p - - name: '${{ matrix.icon }} TEMP Environment Variable' - run: | - mkdir temp - - name: '${{ matrix.icon }} Downloading a DLS file for testing' uses: ethanjli/cached-download-action@v0.1.3 with: url: http://www.ronimusic.com/sf2/Airfont_340.dls - destination: temp/soundfont.dls + destination: ${{env.TEMP}}/soundfont.dls cache-key: cached.soundfont.dls enable-cross-os-archive: true - name: '${{ matrix.icon }} Configure CMake' + id: configuration run: > cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} @@ -72,7 +68,6 @@ jobs: -DDEPENDENCY_DIRS=${{steps.msys2.outputs.msys2-location}}/${{matrix.sys}}/bin -DCPACK_SYSTEM_NAME=${{matrix.sys}} -DINSTALL_DEPENDENCIES=ON - id: configuration - name: '${{ matrix.icon }} Build' run: cmake --build build --config ${{env.BUILD_TYPE}} From 45ff4136194006c85399c861b5765ea80cc2aea3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20L=C3=B3pez-Cabanillas?= Date: Thu, 12 Feb 2026 22:25:24 +0100 Subject: [PATCH 2/3] transform msys2 TEMP using cygpath --- .github/workflows/win-msys2.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/win-msys2.yml b/.github/workflows/win-msys2.yml index effa905..b64202c 100644 --- a/.github/workflows/win-msys2.yml +++ b/.github/workflows/win-msys2.yml @@ -51,11 +51,16 @@ jobs: ninja:p gtest:p + - name: '${{ matrix.icon }} TEMP Environment Variable' + id: tmp + run: | + echo "cache_path=$(cygpath -m $TEMP)" >> $GITHUB_OUTPUT + - name: '${{ matrix.icon }} Downloading a DLS file for testing' uses: ethanjli/cached-download-action@v0.1.3 with: url: http://www.ronimusic.com/sf2/Airfont_340.dls - destination: ${{env.TEMP}}/soundfont.dls + destination: ${{steps.tmp.outputs.cache_path}}/soundfont.dls cache-key: cached.soundfont.dls enable-cross-os-archive: true From 4696045272fd28953ea01bc2a68852447003b680 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20L=C3=B3pez-Cabanillas?= Date: Fri, 13 Feb 2026 07:27:22 +0100 Subject: [PATCH 3/3] transform DEPENDENCY_DIRS using cygpath --- .github/workflows/win-msys2.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/win-msys2.yml b/.github/workflows/win-msys2.yml index b64202c..afa5c2e 100644 --- a/.github/workflows/win-msys2.yml +++ b/.github/workflows/win-msys2.yml @@ -55,6 +55,7 @@ jobs: id: tmp run: | echo "cache_path=$(cygpath -m $TEMP)" >> $GITHUB_OUTPUT + echo "dependencies=$(cygpath -m $MSYSTEM_PREFIX/bin)" >> $GITHUB_OUTPUT - name: '${{ matrix.icon }} Downloading a DLS file for testing' uses: ethanjli/cached-download-action@v0.1.3 @@ -70,7 +71,7 @@ jobs: cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_INSTALL_PREFIX=${{env.INSTALL_LOCATION}} - -DDEPENDENCY_DIRS=${{steps.msys2.outputs.msys2-location}}/${{matrix.sys}}/bin + -DDEPENDENCY_DIRS=${{steps.tmp.outputs.dependencies}} -DCPACK_SYSTEM_NAME=${{matrix.sys}} -DINSTALL_DEPENDENCIES=ON