Skip to content

Commit

Permalink
ci: Test cmake_minimum_required
Browse files Browse the repository at this point in the history
Ensures project configures with 3.13 since it's very easy to
write code that doesn't respect the minimum.
  • Loading branch information
juan-lunarg committed Jun 22, 2023
1 parent 6ab2631 commit c1c7c91
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions .github/workflows/gtest-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ permissions:
contents: read

jobs:
Linux:
Linux-Bazel:
runs-on: ubuntu-latest
steps:

Expand All @@ -22,7 +22,24 @@ jobs:
- name: Tests
run: bazel test --cxxopt=-std=c++14 --features=external_include_paths --test_output=errors ...

macOS:
Linux-CMake-Min:
runs-on: ubuntu-latest
steps:

- uses: actions/checkout@v3
with:
fetch-depth: 0

- uses: lukka/get-cmake@latest
with:
cmakeVersion: 3.13.0

- name: Configure
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -G "Ninja"
- name: Build
run: cmake --build build

macOS-Bazel:
runs-on: macos-latest
steps:

Expand All @@ -34,7 +51,7 @@ jobs:
run: bazel test --cxxopt=-std=c++14 --features=external_include_paths --test_output=errors ...


Windows:
Windows-Bazel:
runs-on: windows-latest
steps:

Expand Down

0 comments on commit c1c7c91

Please sign in to comment.