Skip to content

Commit 620cd3e

Browse files
committed
CI: Update to macOS 12
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
1 parent 7839a57 commit 620cd3e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
CCACHE_MAXSIZE: 500M
7070
macos:
7171
name: macos
72-
runs-on: macos-11
72+
runs-on: macos-12
7373
env:
7474
CMAKE_OPTS: >-
7575
-DUSE_WERROR=ON
@@ -78,7 +78,6 @@ jobs:
7878
CCACHE_MAXSIZE: 0
7979
CCACHE_NOCOMPRESS: 1
8080
MAKEFLAGS: -j3
81-
DEVELOPER_DIR: /Applications/Xcode_11.7.app/Contents/Developer
8281
steps:
8382
- name: Check out
8483
uses: actions/checkout@v3
@@ -105,6 +104,7 @@ jobs:
105104
- name: Install dependencies
106105
run: |
107106
brew bundle install --verbose
107+
npm update -g npm
108108
npm install --location=global appdmg
109109
env:
110110
HOMEBREW_NO_AUTO_UPDATE: 1

0 commit comments

Comments
 (0)