From e9386e50c9b373745f0c2bbd90279711af9056b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Helge=20He=C3=9F?= Date: Sat, 30 Apr 2022 14:53:05 +0200 Subject: [PATCH] GHActions: Add non-SPM test targets for static lib Make sure those work. --- .github/workflows/swift.yml | 41 ++++++++++++++++++++++++++++++++++++- 1 file changed, 40 insertions(+), 1 deletion(-) diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 1d91170..71b3cf4 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -7,7 +7,7 @@ on: - cron: "0 9 * * 1" jobs: - nextstep: + SwiftPackage: runs-on: macos-latest steps: - name: Select latest available Xcode @@ -20,3 +20,42 @@ jobs: run: swift build -c debug - name: Build Swift Release Package run: swift build -c release + iOS: + runs-on: macos-latest + steps: + - name: Select latest available Xcode + uses: maxim-lobanov/setup-xcode@v1.2.1 + with: + xcode-version: 12.4 + - name: Checkout Repository + uses: actions/checkout@v2 + - name: Prerequisites + run: gem install xcpretty + - name: Build + run: set -o pipefail; xcodebuild -scheme ViewController-iOS build | xcpretty --color + iOS15: + runs-on: macos-latest + steps: + - name: Select latest available Xcode + uses: maxim-lobanov/setup-xcode@v1.2.1 + with: + xcode-version: 13.2 + - name: Checkout Repository + uses: actions/checkout@v2 + - name: Prerequisites + run: gem install xcpretty + - name: Build + run: set -o pipefail; xcodebuild -scheme ViewController-iOS build | xcpretty --color + NeXTstep: + runs-on: macos-latest + steps: + - name: Select latest available Xcode + uses: maxim-lobanov/setup-xcode@v1.2.1 + with: + xcode-version: 12.4 + - name: Checkout Repository + uses: actions/checkout@v2 + - name: Prerequisites + run: gem install xcpretty + - name: Build + run: set -o pipefail; xcodebuild -scheme ViewController-macOS build | xcpretty --color