Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .github/workflows/win-msys2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ on:
env:
BUILD_TYPE: RelWithDebInfo
INSTALL_LOCATION: SonivoxV4
TEMP: temp

jobs:
build:
Expand Down Expand Up @@ -53,26 +52,28 @@ jobs:
gtest:p

- name: '${{ matrix.icon }} TEMP Environment Variable'
id: tmp
run: |
mkdir temp
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
with:
url: http://www.ronimusic.com/sf2/Airfont_340.dls
destination: temp/soundfont.dls
destination: ${{steps.tmp.outputs.cache_path}}/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}}
-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
id: configuration

- name: '${{ matrix.icon }} Build'
run: cmake --build build --config ${{env.BUILD_TYPE}}
Expand Down