CI: run in a MINGW64 shell

This commit is contained in:
Christoph Reiter 2022-11-13 00:34:53 +01:00
parent eb76bfb492
commit f295a63b69
2 changed files with 7 additions and 3 deletions

View File

@ -19,9 +19,12 @@ jobs:
- name: setup-msys2 - name: setup-msys2
uses: msys2/setup-msys2@v2 uses: msys2/setup-msys2@v2
with: with:
msystem: MSYS msystem: MINGW64
update: true update: true
install: p7zip tar mingw-w64-x86_64-qt-installer-framework install: >-
tar
mingw-w64-x86_64-qt-installer-framework
mingw-w64-x86_64-7zip
- name: Switch to the main mirror - name: Switch to the main mirror
shell: msys2 {0} shell: msys2 {0}

View File

@ -78,7 +78,8 @@ create_chroot_system() {
main() { main() {
pacman -S --noconfirm --needed \ pacman -S --noconfirm --needed \
"${MINGW_PACKAGE_PREFIX}-qt-installer-framework" \ "${MINGW_PACKAGE_PREFIX}-qt-installer-framework" \
"${MINGW_PACKAGE_PREFIX}-7zip" "${MINGW_PACKAGE_PREFIX}-7zip" \
"tar"
create_chroot_system create_chroot_system