frontpage-cleanup #67
Workflow file for this run
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: CI | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
name: build-and-test | |
runs-on: macos-14 | |
env: | |
scheme: ${{ 'Demo' }} | |
destination: ${{ 'platform=iOS Simulator,OS=17.4,name=iPhone 15 Pro' }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Select Xcode 15.3 | |
run: sudo xcode-select -s /Applications/Xcode_15.3.app | |
- name: Install SwiftLint | |
run: brew install swiftlint | |
- name: Lint | |
run: | | |
swiftlint lint | |
- name: Build | |
run: | | |
xcodebuild build-for-testing -scheme "$scheme" -workspace FinniversKit.xcworkspace -destination "$destination" | |
- name: Test | |
run: | | |
xcodebuild test-without-building -scheme "$scheme" -workspace FinniversKit.xcworkspace -destination "$destination" |