Skip to content

Commit 87caa16

Browse files
committed
clang
1 parent 6ef923c commit 87caa16

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

.github/workflows/CI-mingw.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,9 @@ jobs:
5353
# TODO: install mingw-w64-x86_64-make and use mingw32.make instead - currently fails with "Windows Subsystem for Linux has no installed distributions."
5454
install: >-
5555
make
56-
python
57-
python-pytest
56+
${{ matrix.pkg-prefix }}cmake
57+
${{ matrix.pkg-prefix }}python
58+
${{ matrix.pkg-prefix }}python-pytest
5859
5960
- name: install compiler
6061
run: |
@@ -69,13 +70,18 @@ jobs:
6970
- name: make simplecpp
7071
run: make -j$(nproc) CXXOPTS="-Werror"
7172

72-
# clang is required to run-tests.py
73-
# install since it has gcc as dependency which might interfere with the build
73+
# gcc *and* clang are required to run-tests.py
74+
# install it at this point since it has gcc as dependency which might interfere with the build
7475
- name: install compiler (test)
7576
if: matrix.compiler == 'g++'
7677
run: |
7778
pacman -S --noconfirm clang
7879
80+
- name: install compiler (test)
81+
if: matrix.compiler == 'clang++'
82+
run: |
83+
pacman -S --noconfirm gcc
84+
7985
- name: make test
8086
run: make -j$(nproc) CXXOPTS="-Werror" test
8187

0 commit comments

Comments
 (0)