diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 25ec8c4..c74e74f 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -9,11 +9,20 @@ jobs: steps: - uses: actions/checkout@v1 - - name: Build debug + - name: Build Swift package, debug # Build strictly run: swift build -v -c debug --disable-automatic-resolution - - name: Build release + - name: Build Swift package, release # Build strictly run: swift build -v -c release --disable-automatic-resolution - name: Run tests run: swift test -v + + - name: Build for iOS + run: xcodebuild -scheme BachandNetworking -destination 'platform=iOS Simulator,OS=13.6,name=iPhone 11 Pro' + - name: Build for macOS + run: xcodebuild -scheme BachandNetworking -destination 'platform=macOS,variant=Mac Catalyst' + - name: Build for tvOS + run: xcodebuild -scheme BachandNetworking -destination 'platform=tvOS Simulator,OS=13.4,name=Apple TV 4K' + - name: Build for watchOS + run: echo 'Do nothing until watchOS supports XCTest'