Skip to content

Commit

Permalink
windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Quuxplusone committed Oct 18, 2023
1 parent 1dedc4e commit 85a6a07
Showing 1 changed file with 23 additions and 5 deletions.
28 changes: 23 additions & 5 deletions .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
# Set fail-fast to false to ensure that feedback is delivered for all matrix combinations.
# Consider changing this to true when your workflow is stable.
fail-fast: true
fail-fast: false

# [Debug, Release, RelWithDebInfo]
# [g++, clang++, cl]
Expand All @@ -34,15 +34,33 @@ jobs:
- uses: actions/checkout@v3

- name: Install Google Test (Linux)
if: matrix.os != 'windows-latest'
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt-get install libgtest-dev
- name: Install Google Test (Windows)
if: matrix.os == 'windows-latest'
- name: Install Google Test (Windows MSVC)
if: matrix.os == 'windows-latest' && matrix.cpp_compiler == 'cl'
run: |
choco install gtest
git clone https://github.com/google/googletest.git
mkdir googletest/build
cd googletest/build
cmake ..
dir
dir *
find .
make install
- name: Install Google Test (Windows Cygwin)
if: matrix.os == 'windows-latest' && matrix.cpp_compiler != 'cl'
run: |
git clone https://github.com/google/googletest.git
mkdir googletest/build
cd googletest/build
cmake ..
dir
dir *
find .
make install
# Configure CMake in a 'build' subdirectory.
# `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
Expand Down

0 comments on commit 85a6a07

Please sign in to comment.