diff options
author | Ben <31181527+benedom@users.noreply.github.com> | 2023-10-19 16:20:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-19 16:20:09 +0200 |
commit | eae656a5decbf84169550fd336eea942af3abe89 (patch) | |
tree | 839afe248ec7ee8a1a6bc18b4a55e939e27f70e7 /.github/workflows/build-swift.yml | |
parent | ce10d0756a8763f111f36390cde5a63d5c99711f (diff) |
Update and rename swift.yml to build-swift.yml
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 }} |