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 }}