Skip to content

Commit

Permalink
GHActions: Add non-SPM test targets for static lib
Browse files Browse the repository at this point in the history
Make sure those work.
  • Loading branch information
helje5 committed Apr 30, 2022
1 parent 7e2ebac commit e9386e5
Showing 1 changed file with 40 additions and 1 deletion.
41 changes: 40 additions & 1 deletion .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- cron: "0 9 * * 1"

jobs:
nextstep:
SwiftPackage:
runs-on: macos-latest
steps:
- name: Select latest available Xcode
Expand All @@ -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/[email protected]
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/[email protected]
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/[email protected]
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

0 comments on commit e9386e5

Please sign in to comment.