From 19f301992b733e699054050fdf552c982fea300c Mon Sep 17 00:00:00 2001 From: Steffen Schuemann Date: Sat, 3 Jul 2021 21:54:11 +0200 Subject: [PATCH] Workflow wip... --- .github/workflows/build_cmake.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_cmake.yml b/.github/workflows/build_cmake.yml index 77227ee..99e4f8c 100644 --- a/.github/workflows/build_cmake.yml +++ b/.github/workflows/build_cmake.yml @@ -31,12 +31,16 @@ jobs: build_type: Release packages: ninja generator: "Visual Studio 16 2019" + cc: cl + cxx: cl - name: "macOS 10.15 AppleClang" - os: windows-latest + os: macos-10.15 build_type: Release packages: ninja generator: Ninja + cc: clang + cxx: clang++ steps: - uses: actions/checkout@v2 @@ -64,6 +68,8 @@ jobs: - name: Configure project shell: bash run: | + export CC=${{ matrix.config.cc }} + export CXX=${{ matrix.config.cxx }} ninja --version cmake --version mkdir build @@ -75,4 +81,4 @@ jobs: run: cmake --build build --config ${{ matrix.config.build_type }} - name: Run tests - run: cd build && ctest + run: cd build && ctest -C ${{ matrix.config.build_type }}