diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 5d966e7b..d65456e1 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -13,8 +13,8 @@ jobs: steps: - uses: actions/checkout@v4 - name: Select Xcode version - # https://github.com/actions/runner-images/blob/main/images/macos/macos-14-arm64-Readme.md - run: sudo xcode-select --switch /Applications/Xcode_15.2.app + # https://github.com/actions/runner-images/blob/main/images/macos/macos-14-arm64-Readme.md#xcode + run: sudo xcode-select --switch /Applications/Xcode_16.app - name: Install xcbeautify run: brew install xcbeautify - name: Build Eliza CocoaPods example @@ -27,8 +27,8 @@ jobs: steps: - uses: actions/checkout@v4 - name: Select Xcode version - # https://github.com/actions/runner-images/blob/main/images/macos/macos-14-arm64-Readme.md - run: sudo xcode-select --switch /Applications/Xcode_15.2.app + # https://github.com/actions/runner-images/blob/main/images/macos/macos-14-arm64-Readme.md#xcode + run: sudo xcode-select --switch /Applications/Xcode_16.app - name: Install xcbeautify run: brew install xcbeautify - name: Build Eliza Swift PM example @@ -40,19 +40,19 @@ jobs: steps: - uses: actions/checkout@v4 - name: Select Xcode version - # https://github.com/actions/runner-images/blob/main/images/macos/macos-14-arm64-Readme.md - run: sudo xcode-select --switch /Applications/Xcode_15.2.app + # https://github.com/actions/runner-images/blob/main/images/macos/macos-14-arm64-Readme.md#xcode + run: sudo xcode-select --switch /Applications/Xcode_16.app - name: Install xcbeautify run: brew install xcbeautify - name: Build Connect iOS library - run: set -o pipefail && xcodebuild -scheme Connect-Package -destination 'platform=iOS Simulator,name=iPhone 15,OS=17.3' | xcbeautify + run: set -o pipefail && xcodebuild -scheme Connect-Package -destination 'platform=iOS Simulator,name=iPhone 16,OS=18.0' | xcbeautify build-library-macos: runs-on: macos-14 steps: - uses: actions/checkout@v4 - name: Select Xcode version - # https://github.com/actions/runner-images/blob/main/images/macos/macos-14-arm64-Readme.md - run: sudo xcode-select --switch /Applications/Xcode_15.2.app + # https://github.com/actions/runner-images/blob/main/images/macos/macos-14-arm64-Readme.md#xcode + run: sudo xcode-select --switch /Applications/Xcode_16.app - name: Install xcbeautify run: brew install xcbeautify - name: Build Connect macOS library @@ -62,23 +62,23 @@ jobs: steps: - uses: actions/checkout@v4 - name: Select Xcode version - # https://github.com/actions/runner-images/blob/main/images/macos/macos-14-arm64-Readme.md - run: sudo xcode-select --switch /Applications/Xcode_15.2.app + # https://github.com/actions/runner-images/blob/main/images/macos/macos-14-arm64-Readme.md#xcode + run: sudo xcode-select --switch /Applications/Xcode_16.app - name: Install xcbeautify run: brew install xcbeautify - name: Build Connect tvOS library - run: set -o pipefail && xcodebuild -scheme Connect-Package -destination 'platform=tvOS Simulator,name=Apple TV,OS=17.3' | xcbeautify + run: set -o pipefail && xcodebuild -scheme Connect-Package -destination 'platform=tvOS Simulator,name=Apple TV,OS=18.0' | xcbeautify build-library-watchos: runs-on: macos-14 steps: - uses: actions/checkout@v4 - name: Select Xcode version - # https://github.com/actions/runner-images/blob/main/images/macos/macos-14-arm64-Readme.md - run: sudo xcode-select --switch /Applications/Xcode_15.2.app + # https://github.com/actions/runner-images/blob/main/images/macos/macos-14-arm64-Readme.md#xcode + run: sudo xcode-select --switch /Applications/Xcode_16.app - name: Install xcbeautify run: brew install xcbeautify - name: Build Connect watchOS library - run: set -o pipefail && xcodebuild -scheme Connect-Package -destination 'platform=watchOS Simulator,name=Apple Watch Series 9 (45mm),OS=10.3' | xcbeautify + run: set -o pipefail && xcodebuild -scheme Connect-Package -destination 'platform=watchOS Simulator,name=Apple Watch Series 10 (42mm),OS=11.0' | xcbeautify build-plugin-and-generate: runs-on: macos-14 steps: @@ -102,8 +102,8 @@ jobs: steps: - uses: actions/checkout@v4 - name: Select Xcode version - # https://github.com/actions/runner-images/blob/main/images/macos/macos-14-arm64-Readme.md - run: sudo xcode-select --switch /Applications/Xcode_15.2.app + # https://github.com/actions/runner-images/blob/main/images/macos/macos-14-arm64-Readme.md#xcode + run: sudo xcode-select --switch /Applications/Xcode_16.app - name: Install conformance runner run: make installconformancerunner - name: Run conformance tests @@ -116,8 +116,8 @@ jobs: with: go-version: 1.21.x - name: Select Xcode version - # https://github.com/actions/runner-images/blob/main/images/macos/macos-14-arm64-Readme.md - run: sudo xcode-select --switch /Applications/Xcode_15.2.app + # https://github.com/actions/runner-images/blob/main/images/macos/macos-14-arm64-Readme.md#xcode + run: sudo xcode-select --switch /Applications/Xcode_16.app - name: Run unit tests run: make testunit run-swiftlint: