From c1c660c50c8e9ba006c7dcb329023fe272314695 Mon Sep 17 00:00:00 2001 From: Martin Helmut Fieber Date: Sun, 24 Mar 2024 22:37:29 +0100 Subject: [PATCH] Add GitHub workflows for macOS, Windows, and Ubuntu --- .github/workflows/{cmake.yml => release.yml} | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) rename .github/workflows/{cmake.yml => release.yml} (60%) diff --git a/.github/workflows/cmake.yml b/.github/workflows/release.yml similarity index 60% rename from .github/workflows/cmake.yml rename to .github/workflows/release.yml index 9fb6014..f7b1352 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,4 @@ -name: CMake +name: Release on: push: @@ -11,16 +11,14 @@ env: jobs: build: - runs-on: macos-latest + strategy: + matrix: + os: [ macos-14, ubuntu-latest, windows-latest ] - steps: - - uses: actions/checkout@v3 + runs-on: ${{ matrix.os }} - - name: Install GitHub CLI - run: | - brew install llvm - ln -s "$(brew --prefix llvm)/bin/clang-format" "/usr/local/bin/clang-format" - ln -s "$(brew --prefix llvm)/bin/clang-tidy" "/usr/local/bin/clang-tidy" + steps: + - uses: actions/checkout@v4 - name: Configure CMake run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}