Skip to content

Update swift.yml

Update swift.yml #29

Workflow file for this run

name: "Slider CI"
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
iOS:
name: Build Slider
runs-on: macOS-latest
env:
DEVELOPER_DIR: /Applications/Xcode_15.2.app/Contents/Developer
timeout-minutes: 10
strategy:
matrix:
destination: ["OS=17.2,name=iPhone 15 Pro"] #, "OS=16.2,name=iPhone 15 Pro Max", "OS=16.1,name=iPhone 15 Pro"]
steps:
- uses: actions/checkout@v2
- name: Set Xcode version
run: sudo xcode-select -s $DEVELOPER_DIR
- name: iOS - Build
run: xcodebuild -project "Slider.xcodeproj" -scheme "SliderScheme" -destination "${{ matrix.destination }}" build test
timeout-minutes: 10