Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions .github/workflows/CI-mingw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,18 @@ jobs:
with:
release: false # use pre-installed
# TODO: install mingw-w64-x86_64-make and use mingw32.make instead - currently fails with "Windows Subsystem for Linux has no installed distributions."
install: >-
mingw-w64-x86_64-lld
mingw-w64-x86_64-ccache
make
mingw-w64-x86_64-gcc

- name: Install MSYS2 packages
run: |
for attempt in 1 2 3; do
if pacman --noconfirm -S --needed --overwrite '*' mingw-w64-x86_64-lld mingw-w64-x86_64-ccache make mingw-w64-x86_64-gcc; then
exit 0
fi
if [ "$attempt" -eq 3 ]; then
exit 1
fi
sleep 10
done

- name: ccache
uses: hendrikmuhs/ccache-action@v1.2.24
Expand Down