From 4d66ada007df5dee44b3bd88ac6d037bbab9d590 Mon Sep 17 00:00:00 2001 From: Jordan Rose Date: Fri, 13 Oct 2023 17:49:06 -0700 Subject: [PATCH] Use gcc/g++ as the compilers for windows-gnu, not Clang --- .github/workflows/ci.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1f9e396b..d499e91a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -160,7 +160,16 @@ jobs: - thing: x86_64-mingw target: x86_64-pc-windows-gnu rust: stable - os: ubuntu-latest + os: windows-latest + check_only: true # tests are flaky for unclear reasons + custom_env: + CC: gcc + CXX: g++ + C_INCLUDE_PATH: "C:\\msys64\\usr\\include" + CPLUS_INCLUDE_PATH: "C:\\msys64\\usr\\include" + LIBRARY_PATH: "C:\\msys64\\usr\\lib" + # CI's Windows doesn't have required root certs + extra_test_args: --workspace --exclude tokio-boring --exclude hyper-boring - thing: i686-msvc target: i686-pc-windows-msvc rust: stable-x86_64-msvc