Skip to content

Commit 1d0decf

Browse files
committed
Don't use C++ modules with MSVC CI job (see hsutter#943)
1 parent ec19f91 commit 1d0decf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

regression-tests/run-tests.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,11 @@ for test_file in $tests; do
163163
if [[ $test_name == "pure2"* ]]; then
164164
descr="pure Cpp2 code"
165165
opt="-p"
166+
# Disable C++ modules with MSVC due to GitHub-hosted runner not supporting it
167+
# See https://github.com/hsutter/cppfront/issues/943
168+
if [[ "$cxx_compiler" == *"cl.exe"* ]]; then
169+
opt="$opt -include-std"
170+
fi
166171
fi
167172
echo " Testing $descr: $test_name.cpp2"
168173

0 commit comments

Comments
 (0)