From 9a04ca9b62063515b97084fb3dcbc712afa665c3 Mon Sep 17 00:00:00 2001 From: Albert Kalchmair Date: Sat, 15 Jun 2024 17:38:43 +0200 Subject: [PATCH] Update build.yml Added Darwin-arm64 runner --- .github/workflows/build.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8fa2e61..5e03e1c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,9 +19,13 @@ jobs: - os: ubuntu-20.04 package: ZIP - - os: macos-11 + - os: macos-12 package: ZIP + - os: macos-14 + package: ZIP + configure_args: "-DCPACK_SYSTEM_NAME=Darwin-arm64" + steps: - name: Setup Windows/MSVC if: runner.os == 'Windows' @@ -43,7 +47,7 @@ jobs: submodules: recursive - name: Configure CMake - run: cmake -B ${{github.workspace}}/build -DCMAKE_INSTALL_PREFIX=dist + run: cmake -B ${{github.workspace}}/build -DCMAKE_INSTALL_PREFIX=dist ${{matrix.config.configure_args}} - name: Build run: cmake --build ${{github.workspace}}/build --config Release - name: Install