diff options
Diffstat (limited to '.github/workflows/build-swift.yml')
-rw-r--r-- | .github/workflows/build-swift.yml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/.github/workflows/build-swift.yml b/.github/workflows/build-swift.yml new file mode 100644 index 0000000..9d9f3cc --- /dev/null +++ b/.github/workflows/build-swift.yml @@ -0,0 +1,33 @@ +# This workflow will build a Swift project + +name: Build + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + strategy: + matrix: + platform: + - iOS + xcode: + - ^15 + + runs-on: macos-13 + + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Get swift version + uses: swift-actions/setup-swift@v1 + - name: Print Swift version + run: swift --version + - name: Build & Test + uses: mxcl/xcodebuild@v1 + with: + xcode: ${{ matrix.xcode }} + platform: ${{ matrix.platform }} |