add gcc via choco

This commit is contained in:
pantor
2021-01-16 18:23:20 +01:00
parent 9d59943220
commit 15b0b7f5e3

View File

@@ -228,7 +228,8 @@ jobs:
# Chocolatey GCC is broken on the windows-2019 image.
# See: https://github.com/DaanDeMeyer/doctest/runs/231595515
# See: https://github.community/t5/GitHub-Actions/Something-is-wrong-with-the-chocolatey-installed-version-of-gcc/td-p/32413
scoop install gcc --global
# scoop install gcc --global
choco install mingw
echo "CC=gcc" >> $GITHUB_ENV
echo "CXX=g++" >> $GITHUB_ENV
} elseif ("${{ matrix.compiler }}" -eq "clang") {