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