From 1ed21db5128029843a280ef4aa40aafc714d3311 Mon Sep 17 00:00:00 2001 From: "Mauricio A. Rovira Galvez" <8482308+marovira@users.noreply.github.com> Date: Sun, 8 Sep 2024 11:56:55 -0700 Subject: [PATCH] [brief] Adding MacOS to the testing matrix. [detailed] - I'm starting with Clang first because I'm almost sure it won't compile. --- .github/workflows/build.yml | 1 + CMakePresets.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7f54db6..879b893 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,6 +36,7 @@ jobs: - {os: "windows-latest", cxx: "msvc", cc: "msvc", preset: "msvc"} - {os: "ubuntu-24.04", cxx: "clang++-18", cc: "clang-18", preset: "clang"} - {os: "ubuntu-24.04", cxx: "g++-14", cc: "gcc-14", preset: "gcc"} + - {os: "macos-latest", cxx: "clang++", cc: "clang", preset: "apple"} build: ["Debug", "Release"] steps: - name: Chekout diff --git a/CMakePresets.json b/CMakePresets.json index 5d05edb..0baed36 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -55,7 +55,7 @@ "description": "Default build for Apple platforms", "inherits": "unix_base", "cacheVariables": { - "CMAKE_CXX_FLAGS": "-Wall -Wextra -pedantic -Werror" + "CMAKE_CXX_FLAGS": "-Wall -Wextra -pedantic -Werror -stdlib=libstdc++" } } ]