Skip to content

Github actions

Github actions #11

Workflow file for this run

# This workflow will build a Swift project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift
name: Swift
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Build and Test
run: |
xcodebuild \
-project DeviceGuru.xcodeproj \
-scheme DeviceGuru \
-sdk iphonesimulator \
-destination 'platform=iOS Simulator,name=iPhone 14,OS=17.4' \
test || exit 1