Skip to content

Commit

Permalink
Add CI build for "import std" on MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
rollbear committed Dec 23, 2024
1 parent 6f43b6b commit 374d5fc
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,11 @@ jobs:
- { std: 14 }
- { std: 17 }
- { std: 20 }
name: "Windows C++${{matrix.config.std}}"
- { std: 20, import_std: "import std" }
- { std: 23 }
- { std: 23, import_std: "import std" }

name: "Windows C++${{matrix.config.std}} ${{matrix.config.import_std}}"
steps:
- uses: actions/checkout@v4

Expand All @@ -157,6 +161,11 @@ jobs:
- name: "setup"
shell: bash
run: |
EXTRA_FLAGS=""
if [ -n "${{matrix.config.import_std}}" ]
then
EXTRA_FLAGS="${EXTRA_FLAGS} -DSTRONG_TYPE_IMPORT_STD_LIBRARY"
fi
cmake \
-S . \
-B build \
Expand All @@ -167,6 +176,7 @@ jobs:
-DCMAKE_BUILD_TYPE=Debug \
-DCMAKE_VERBOSE_MAKEFILE=yes \
-DSTRONG_TYPE_UNIT_TEST=yes \
${EXTRA_FLAGS} \
-G Ninja
- name: "build"
Expand Down

0 comments on commit 374d5fc

Please sign in to comment.