Use UCRT64 variant when making 64bit Windows releases

See: https://www.msys2.org/docs/environments/
This commit is contained in:
Saúl Ibarra Corretgé 2024-12-02 11:52:59 +01:00
parent e77cfb67b8
commit 858fc361ff

View file

@ -75,7 +75,7 @@ jobs:
- name: Setup MSYS2 - name: Setup MSYS2
uses: msys2/setup-msys2@v2 uses: msys2/setup-msys2@v2
with: with:
msystem: ${{ matrix.arch == 'x86' && 'mingw32' || 'mingw64' }} msystem: ${{ matrix.arch == 'x86' && 'mingw32' || 'ucrt64' }}
install: >- install: >-
git git
make make
@ -90,6 +90,7 @@ jobs:
mv build/qjsc.exe build/qjsc-windows-${{matrix.arch}}.exe mv build/qjsc.exe build/qjsc-windows-${{matrix.arch}}.exe
- name: check - name: check
run: | run: |
file build/qjs-windows-${{matrix.arch}}.exe
ldd build/qjs-windows-${{matrix.arch}}.exe build/qjsc-windows-${{matrix.arch}}.exe ldd build/qjs-windows-${{matrix.arch}}.exe build/qjsc-windows-${{matrix.arch}}.exe
- name: upload - name: upload
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4