Feature/boost notifications #240
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=18.0,name=iPhone 16 Pro' }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Select Xcode 16.0 | |
run: sudo xcode-select -s /Applications/Xcode_16.0.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" |