Update add-artifacts-to-current-release.yml
Fabio Cevasco h3rald@h3rald.com
Sun, 07 Jan 2024 21:51:02 +0100
1 files changed,
17 insertions(+),
3 deletions(-)
M
.github/workflows/add-artifacts-to-current-release.yml
→
.github/workflows/add-artifacts-to-current-release.yml
@@ -46,7 +46,21 @@ shell: bash
run: | echo "$HOME/.nimble/bin" >> $GITHUB_PATH echo $GITHUB_WORKSPACE >> $GITHUB_PATH - + + - name: Setup Msys2 + if: matrix.os == 'windows-latest' + uses: msys2/setup-msys2@v2 + with: + msystem: MINGW64 + release: true + update: true + install: >- + base-devel + autotools + mingw-w64-x86_64-perl-locale-maketext + mingw-w64-x86_64-toolchain + mingw-w64-x86_64-autotools + # Sets path (Windows) - name: Update %PATH% run: |@@ -87,8 +101,8 @@ if: matrix.os == 'macos-latest'
# Build for Windows - name: Build (Windows) - shell: bash - run: nimble build -v -y -d:release --mm:refc --opt:size -d:ssl --gcc.exe:gcc --gcc.linkerexe:gcc --cc:gcc litestore + shell: msys2 {0} + run: nimble build -v -y -d:release --mm:refc --opt:size -d:ssl --gcc.exe:x86_64-w64-mingw32-gcc --gcc.linkerexe:x86_64-w64-mingw32-gcc litestore if: matrix.os == 'windows-latest' # Import admin directory and create default db