-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The msys2 action can install packages via pacboy now. The hack to use clang32 stopped working.
- Loading branch information
Showing
1 changed file
with
3 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -173,23 +173,14 @@ jobs: | |
shell: msys2 {0} | ||
strategy: | ||
matrix: | ||
sys: [mingw64, mingw32, ucrt64, clang64, clang32] | ||
# clang32 was broken last time I tried in December 27 2024 | ||
sys: [msys, mingw64, mingw32, ucrt64, clang64] | ||
steps: | ||
- uses: msys2/setup-msys2@v2 | ||
with: | ||
msystem: ${{matrix.sys}} | ||
update: true | ||
path-type: strict | ||
install: pactoys | ||
- name: setup | ||
run: | | ||
# Lines stolen from: | ||
# https://github.com/msys2/MINGW-packages/blob/56dd3261b3e67c901e45f9314b671ea19104bc0e/.github/workflows/main.yml#L56-L63 | ||
grep -qF '[clang32]' /etc/pacman.conf || sed -i \ | ||
'1s|^|[clang32]\nInclude = /etc/pacman.d/mirrorlist.mingw\n|' \ | ||
/etc/pacman.conf | ||
pacman --noconfirm -Suuy | ||
pacboy --noconfirm -S --needed clang:p meson:p ninja:p | ||
pacboy: gcc:p meson:p ninja:p | ||
- uses: actions/[email protected] | ||
- name: build | ||
run: | | ||
|