Skip to content

Commit

Permalink
CI: Use the new cmake build on macOS.
Browse files Browse the repository at this point in the history
  • Loading branch information
dsvensson committed Mar 12, 2024
1 parent bdae03c commit df3e96b
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions .github/workflows/build-targets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,26 +50,23 @@ jobs:
runs-on: macos-13
strategy:
matrix:
ARCH: ["arm64","intel"]
preset: [xcode-vcpkg-x64, xcode-vcpkg-arm64]
variant: [release]

steps:
- name: Check out code
uses: actions/checkout@v3
with:
submodules: true

- name: Install dependencies
run: .github/workflows/scripts/homebrew.sh install-${{matrix.ARCH}}

- name: Build
run: .github/workflows/scripts/homebrew.sh build-${{matrix.ARCH}}

- name: Create Bundle
run: .github/workflows/scripts/homebrew.sh create-bundle ${{matrix.ARCH}}
- name: Setup vcpkg
uses: lukka/run-vcpkg@v11

- uses: actions/upload-artifact@v3
- name: Run CMake
uses: lukka/run-cmake@v10
with:
name: macos-${{matrix.ARCH}}
path: ezQuake.zip
configurePreset: "${{ matrix.preset }}"
buildPreset: "${{ matrix.preset }}-${{ matrix.variant }}"

linux-build:
runs-on: ubuntu-latest
Expand Down

0 comments on commit df3e96b

Please sign in to comment.