chore: bump macos runner version due to github macos-11 removal (#5199)
This commit is contained in:
@@ -32,13 +32,13 @@ jobs:
|
||||
# well on Windows or Mac. You can convert this to a matrix build if you need
|
||||
# cross-platform coverage.
|
||||
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
|
||||
runs-on: macos-11
|
||||
runs-on: macos-12
|
||||
|
||||
steps:
|
||||
- name: Select XCode version
|
||||
uses: maxim-lobanov/setup-xcode@v1
|
||||
with:
|
||||
xcode-version: '11.7'
|
||||
xcode-version: '13.2.1'
|
||||
|
||||
- name: Check out the repo
|
||||
uses: actions/checkout@v4
|
||||
@@ -64,28 +64,15 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: python3 -m pip install --upgrade pip Pillow lz4 clang jinja2
|
||||
|
||||
- name: Patch GitHub macOS build
|
||||
run: brew install pkg-config
|
||||
|
||||
- name: Install libusb
|
||||
run: brew install libusb
|
||||
|
||||
- name: Install dfu-util
|
||||
run: brew install dfu-util
|
||||
|
||||
- name: Select XCode version
|
||||
uses: maxim-lobanov/setup-xcode@v1
|
||||
with:
|
||||
xcode-version: '13.2.1'
|
||||
|
||||
- name: Install SDL2
|
||||
run: brew install SDL2
|
||||
|
||||
- name: Select XCode version
|
||||
uses: maxim-lobanov/setup-xcode@v1
|
||||
with:
|
||||
xcode-version: '11.7'
|
||||
|
||||
- name: Build
|
||||
working-directory: ${{github.workspace}}
|
||||
shell: bash
|
||||
|
||||
Reference in New Issue
Block a user