diff --git a/.github/workflows/Swift-Build.yml b/.github/workflows/Swift-Build.yml index 6eb15a6..4c2504b 100644 --- a/.github/workflows/Swift-Build.yml +++ b/.github/workflows/Swift-Build.yml @@ -2,15 +2,19 @@ name: Swift-Build on: [push, pull_request] jobs: test: - runs-on: macos-latest + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [macos-12, macos-13] + xcode: ['14.2', '15.0'] + exclude: + - os: macos-12 + xcode: '15.0' + env: + DEVELOPER_DIR: "/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer" steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: submodules: recursive - - - name: Xcode select - run: sudo xcode-select -s /Applications/Xcode_11.4.app - - name: Build and Test - run: | - swift test + run: swift test