From 5dec182f39fa735a12d27198f56b22a96318d9fa Mon Sep 17 00:00:00 2001 From: Econa77 Date: Sat, 14 Oct 2023 01:12:30 +0900 Subject: [PATCH] Update swift build execution environment to macOS13 --- .github/workflows/Swift-Build.yml | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) 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