Skip to content

Commit

Permalink
CI: Try UCRT64 for Windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
radioactiveman committed Mar 9, 2024
1 parent 8050e8b commit f9eeed0
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
14 changes: 7 additions & 7 deletions .github/actions/install-dependencies/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ runs:
- uses: msys2/setup-msys2@v2
if: startsWith(inputs.os, 'windows')
with:
msystem: MINGW64
msystem: UCRT64
update: true
install: >-
mingw-w64-x86_64-autotools
mingw-w64-x86_64-gcc
mingw-w64-x86_64-gtk2
mingw-w64-x86_64-meson
mingw-w64-x86_64-pkg-config
mingw-w64-x86_64-qt5-base
mingw-w64-ucrt-x86_64-autotools
mingw-w64-ucrt-x86_64-gcc
mingw-w64-ucrt-x86_64-gtk2
mingw-w64-ucrt-x86_64-meson
mingw-w64-ucrt-x86_64-pkg-config
mingw-w64-ucrt-x86_64-qt5-base
4 changes: 3 additions & 1 deletion .github/actions/run-action/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ runs:
if: (!startsWith(inputs.os, 'windows'))
shell: bash

- run: '$GITHUB_ACTION_PATH/run-action.sh "${{ inputs.action }}" "${{ inputs.os }}" "${{ inputs.build-system }}"'
- run: |
set MSYSTEM=UCRT64
sh '$GITHUB_ACTION_PATH/run-action.sh "${{ inputs.action }}" "${{ inputs.os }}" "${{ inputs.build-system }}"'
if: startsWith(inputs.os, 'windows')
shell: msys2 {0}
3 changes: 2 additions & 1 deletion .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ jobs:
build:
strategy:
matrix:
os: ['ubuntu-20.04', 'ubuntu-22.04', 'macos-12', 'windows-2022']
#os: ['ubuntu-20.04', 'ubuntu-22.04', 'macos-12', 'windows-2022']
os: ['windows-2022']
build-system: ['autotools', 'meson']
fail-fast: false
runs-on: ${{ matrix.os }}
Expand Down

0 comments on commit f9eeed0

Please sign in to comment.