From 6c11dd3262c85b5c1c9e222a07e679196ee8e604 Mon Sep 17 00:00:00 2001 From: pit-ray Date: Tue, 13 Feb 2024 04:04:42 +0900 Subject: [PATCH] specify Mingw --- .github/workflows/coveralls.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index 8453697..b207ff9 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coveralls.yml @@ -48,8 +48,18 @@ jobs: - name: Install cpp-coveralls run: pip install --user cpp-coveralls + - name: Setup Dependencies + shell: powershell + run: | + choco install -y 7zip.install + curl.exe -OL https://github.com/niXman/mingw-builds-binaries/releases/download/13.2.0-rt_v11-rev0/x86_64-13.2.0-release-win32-seh-msvcrt-rt_v11-rev0.7z + 7z x x86_64-13.2.0-release-win32-seh-msvcrt-rt_v11-rev0.7z + - name: Configure CMake run: cmake -B build_test -G "MinGW Makefiles" tests + env: + CC: ${{github.workspace}}/mingw64/bin/gcc.exe + CXX: ${{github.workspace}}/mingw64/bin/g++.exe - name: Build run: cmake --build build_test --config ${{env.BUILD_TYPE}}