From 320dba8df95d50bd6eed19f1efba05625bef01a4 Mon Sep 17 00:00:00 2001 From: Karoy Lorentey Date: Thu, 8 Oct 2026 18:38:24 -0700 Subject: [PATCH] [CI] cmake-build: Build in single-module mode and Foundation toolchain module mode --- .github/workflows/pull_request.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 8552b537..4117af48 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -112,6 +112,30 @@ jobs: CMAKE: ${{ steps.install-cmake.outputs.cmake }} run: | "$CMAKE" --build .cmake-build + - name: Configure with CMake (Single-module mode) + shell: bash + env: + CMAKE: ${{ steps.install-cmake.outputs.cmake }} + run: | + "$CMAKE" -G Ninja -S . -B .singlemodule-build -D COLLECTIONS_SINGLE_MODULE=ON + - name: Build with CMake (Single-module mode) + shell: bash + env: + CMAKE: ${{ steps.install-cmake.outputs.cmake }} + run: | + "$CMAKE" --build .singlemodule-build + - name: Configure with CMake (Foundation toolchain module mode) + shell: bash + env: + CMAKE: ${{ steps.install-cmake.outputs.cmake }} + run: | + "$CMAKE" -G Ninja -S . -B .foundation-build -D COLLECTIONS_FOUNDATION_TOOLCHAIN_MODULE=ON + - name: Build with CMake (Foundation toolchain module mode) + shell: bash + env: + CMAKE: ${{ steps.install-cmake.outputs.cmake }} + run: | + "$CMAKE" --build .foundation-build xcode-build: name: Xcode Project Build