From 322172b6ff848f21b4863f678f7b3aeb180be2d3 Mon Sep 17 00:00:00 2001 From: goenning Date: Thu, 5 Oct 2023 14:54:16 +0100 Subject: [PATCH] build and test --- .github/workflows/ci.yaml | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 162a3bf..95720fe 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -8,28 +8,35 @@ on: jobs: build: - name: Swift ${{ matrix.swift }} on ${{ matrix.os }} + name: Platform ${{ matrix.platform }} on Xcode ${{ matrix.xcode }} + ${{ matrix.os }} runs-on: ${{ matrix.os }} strategy: matrix: + platform: + - macOS + - watchOS + - tvOS + - iOS include: - - swift: "5.9" + - xcode: ^13 + os: "macos-12" + - xcode: ^14 os: "macos-13" - - swift: "5.8" + - xcode: ^15 os: "macos-13" - - swift: "5.7" - os: "macos-12" - - swift: "5.6" - os: "macos-12" steps: - uses: actions/checkout@v4 - - uses: swift-actions/setup-swift@v1 + - uses: mxcl/xcodebuild@v1 with: - swift-version: ${{ matrix.swift }} + xcode: ${{ matrix.xcode }} + platform: ${{ matrix.platform }} + action: build + configuration: release - uses: mxcl/xcodebuild@v1 with: - platform: iOS - action: build + xcode: ${{ matrix.xcode }} + platform: ${{ matrix.platform }} + action: test configuration: release \ No newline at end of file