Re-enabled MSYS2 build

This commit is contained in:
OpenSauce04 2024-04-03 23:46:50 +01:00
parent 2c58da535f
commit e7a51c4e83

View File

@ -126,10 +126,10 @@ jobs:
runs-on: windows-latest runs-on: windows-latest
strategy: strategy:
matrix: matrix:
target: ["msvc"] # Removing "msys2" from the target list target: ["msvc", "msys2"]
defaults: defaults:
run: run:
shell: bash {0} #shell: ${{ (matrix.target == 'msys2' && 'msys2') || 'bash' }} {0} shell: ${{ (matrix.target == 'msys2' && 'msys2') || 'bash' }} {0}
env: env:
CCACHE_DIR: ${{ github.workspace }}/.ccache CCACHE_DIR: ${{ github.workspace }}/.ccache
CCACHE_COMPILERCHECK: content CCACHE_COMPILERCHECK: content
@ -149,20 +149,20 @@ jobs:
${{ runner.os }}-${{ matrix.target }}- ${{ runner.os }}-${{ matrix.target }}-
- name: Set up MSVC - name: Set up MSVC
uses: ilammy/msvc-dev-cmd@v1 uses: ilammy/msvc-dev-cmd@v1
# if: ${{ matrix.target == 'msvc' }} if: ${{ matrix.target == 'msvc' }}
- name: Install extra tools (MSVC) - name: Install extra tools (MSVC)
run: choco install ccache ninja wget run: choco install ccache ninja wget
# if: ${{ matrix.target == 'msvc' }} if: ${{ matrix.target == 'msvc' }}
# - name: Set up MSYS2 - name: Set up MSYS2
# uses: msys2/setup-msys2@v2 uses: msys2/setup-msys2@v2
# if: ${{ matrix.target == 'msys2' }} if: ${{ matrix.target == 'msys2' }}
# with: with:
# msystem: clang64 msystem: clang64
# update: true update: true
# install: git make p7zip install: git make p7zip
# pacboy: >- pacboy: >-
# toolchain:p ccache:p cmake:p ninja:p toolchain:p ccache:p cmake:p ninja:p
# qt6-base:p qt6-multimedia:p qt6-multimedia-wmf:p qt6-tools:p qt6-translations:p qt6-base:p qt6-multimedia:p qt6-multimedia-wmf:p qt6-tools:p qt6-translations:p
- name: Disable line ending translation - name: Disable line ending translation
run: git config --global core.autocrlf input run: git config --global core.autocrlf input
- name: Build - name: Build