From db261d949905213ed032823db9ea4f3ad449d156 Mon Sep 17 00:00:00 2001 From: David Nadoba Date: Tue, 13 Jul 2021 23:33:05 +0200 Subject: [PATCH] Update swift.yml Signed-off-by: David Nadoba --- .github/workflows/swift.yml | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 24be5889..bb8a0e7d 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -8,15 +8,16 @@ on: jobs: test-on-macOS-and-iOS: - runs-on: macos-latest + runs-on: macos-11 strategy: matrix: - xcode: ['13.0'] - env: - DEVELOPER_DIR: /Applications/Xcode_13.0.app/Contents/Developer + xcode: ['12.5.1', '13.0'] + steps: - - uses: actions/checkout@v2 + - uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: ${{ matrix.xcode }} - name: Test on iOS Simulator run: > @@ -38,9 +39,16 @@ jobs: -destination 'platform=macOS' performance-tests-on-macOS: - runs-on: macos-latest + runs-on: macos-11 + strategy: + matrix: + xcode: ['12.5.1', '13.0'] + steps: - uses: actions/checkout@v2 + - uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: ${{ matrix.xcode }} - name: Build & Run Performance Tests on macOS env: DEVELOPER_DIR: ${{ matrix.xcode }}