Update swift.yml #29
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |