diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7e07fda..66221d2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -32,7 +32,7 @@ jobs: - uses: maxim-lobanov/setup-xcode@v1 with: - xcode-version: "16.0-beta" + xcode-version: "16.1-beta" - name: Build and Test env: @@ -57,23 +57,49 @@ jobs: matrix: include: - image: swift:5.8-focal + skip-testing: true + - image: swift:5.8-jammy + skip-testing: true + - image: swift:5.8-rhel-ubi9 + skip-testing: true + - image: swift:5.9-focal + skip-testing: true + - image: swift:5.9-jammy + skip-testing: true + - image: swift:5.9-rhel-ubi9 + skip-testing: true + - image: swift:5.10-focal + skip-testing: true + - image: swift:5.10-jammy + skip-testing: true + - image: swift:5.10-rhel-ubi9 + skip-testing: true + - image: swiftlang/swift:nightly-focal + perform-testing: true + - image: swiftlang/swift:nightly-jammy + perform-testing: true container: image: ${{ matrix.image }} timeout-minutes: 10 steps: - name: Checkout uses: actions/checkout@v4 + - name: Build + if: ${{ matrix.skip-testing }} + run: | + swift build - name: Build and test + if: ${{ matrix.perform-testing }} run: | swift build --build-tests swift test