Skip to content

Commit

Permalink
Update Github Actions workflow for MacOS builds
Browse files Browse the repository at this point in the history
* Remove MacOS 11 builds because it is no longer support by Apple or
  Homebrew
* Add MacOS 13 debug builds
* Update release build to MacOS 12
* Remove `brew update` from release build. This reverts 9f943a3 because
  the fix for the Homebrew bug that it addressed is already available.
  It is also equally likely for an up-to-date version of Homebrew to
  cause build failures so for now it is convenient to save time by
  avoiding the update.
  • Loading branch information
leonlynch committed Dec 9, 2023
1 parent 7072586 commit cf6f56c
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/macos-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ jobs:
fail-fast: false
matrix:
include:
- { name: "MacOS 11", os: macos-11, osx_arch: "x86_64;arm64", build_type: "Release", deps: "none", fetch_deps: YES, build_dukpt_ui: NO }
- { name: "MacOS 11", os: macos-11, osx_arch: "x86_64;arm64", build_type: "Debug", deps: "tr31", fetch_deps: YES, build_dukpt_ui: NO }
- { name: "MacOS 11", os: macos-11, osx_arch: "x86_64", build_type: "Release", deps: "tr31/qt", fetch_deps: NO, build_dukpt_ui: YES }
- { name: "MacOS 12", os: macos-12, osx_arch: "x86_64", build_type: "Release", deps: "tr31", fetch_deps: NO, build_dukpt_ui: NO }
- { name: "MacOS 12", os: macos-12, osx_arch: "x86_64", build_type: "Debug", deps: "tr31/qt", fetch_deps: YES, build_dukpt_ui: YES }
- { name: "MacOS 12", os: macos-12, osx_arch: "x86_64;arm64", build_type: "Release", deps: "none", fetch_deps: YES, build_dukpt_ui: NO }
- { name: "MacOS 12", os: macos-12, osx_arch: "x86_64;arm64", build_type: "Debug", deps: "tr31", fetch_deps: YES, build_dukpt_ui: NO }
- { name: "MacOS 12", os: macos-12, osx_arch: "x86_64", build_type: "Release", deps: "tr31/qt", fetch_deps: NO, build_dukpt_ui: YES }
- { name: "MacOS 13", os: macos-13, osx_arch: "x86_64", build_type: "Release", deps: "tr31", fetch_deps: NO, build_dukpt_ui: NO }
- { name: "MacOS 13", os: macos-13, osx_arch: "x86_64", build_type: "Debug", deps: "tr31/qt", fetch_deps: YES, build_dukpt_ui: YES }

name: ${{ matrix.name }} (${{ matrix.osx_arch }}) build (static/${{ matrix.build_type }}/${{ matrix.deps }})
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -79,13 +79,12 @@ jobs:
run: ctest --test-dir build --output-on-failure

build-macos-release:
name: MacOS 11 (release)
runs-on: macos-11
name: MacOS 12 (release)
runs-on: macos-12

steps:
- name: Install dependencies
run: |
brew update
brew install qt@5
echo "QT5_DIR=$(brew --prefix qt@5)/lib/cmake/Qt5" >> $GITHUB_ENV
Expand Down

0 comments on commit cf6f56c

Please sign in to comment.