Skip to content

Commit

Permalink
CI: Update to macOS 12
Browse files Browse the repository at this point in the history
Homebrew doesn't provide bottles for macOS 11 anymore, causing
dependencies to be compiled in CI which takes approximately 173 years.
Therefore, upgrade to macOS 12 and
- remove DEVELOPER_DIR environment variable which caused problems but
  its removal doesn't appear to break anything
- upgrade npm because versions before 10.2.2 use Python's distutils
  package which was removed in Python 12. See
    - npm/cli#6937
    - nodejs/node-gyp#2869
  • Loading branch information
lukas-w committed Nov 4, 2023
1 parent 7839a57 commit 620cd3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
CCACHE_MAXSIZE: 500M
macos:
name: macos
runs-on: macos-11
runs-on: macos-12
env:
CMAKE_OPTS: >-
-DUSE_WERROR=ON
Expand All @@ -78,7 +78,6 @@ jobs:
CCACHE_MAXSIZE: 0
CCACHE_NOCOMPRESS: 1
MAKEFLAGS: -j3
DEVELOPER_DIR: /Applications/Xcode_11.7.app/Contents/Developer
steps:
- name: Check out
uses: actions/checkout@v3
Expand All @@ -105,6 +104,7 @@ jobs:
- name: Install dependencies
run: |
brew bundle install --verbose
npm update -g npm
npm install --location=global appdmg
env:
HOMEBREW_NO_AUTO_UPDATE: 1
Expand Down

0 comments on commit 620cd3e

Please sign in to comment.