ci: use macos 11 for build and test

This commit is contained in:
alexey.lysiuk 2021-11-22 09:42:15 +02:00
parent 02588e78c7
commit 19c07f7d79
2 changed files with 3 additions and 4 deletions

View file

@ -6,7 +6,7 @@ jobs:
build: build:
if: "${{ !contains(github.event.head_commit.message, '[skip build]') }}" if: "${{ !contains(github.event.head_commit.message, '[skip build]') }}"
name: ${{ matrix.config.name }} name: ${{ matrix.config.name }}
runs-on: "macos-10.15" runs-on: "macos-11"
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:

View file

@ -5,11 +5,10 @@ on: [push, pull_request]
jobs: jobs:
test: test:
if: "${{ !contains(github.event.head_commit.message, '[skip test]') }}" if: "${{ !contains(github.event.head_commit.message, '[skip test]') }}"
runs-on: "macos-10.15" runs-on: "macos-11"
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- name: Run tests - name: Run tests
run: | run: |
# Remove SDKROOT when 11.0+ SDK will become the default one ./build.py --target=test-deps
SDKROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk ./build.py --target=test-deps