Follow up PR on #653 #661
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: | |
- main | |
pull_request: | |
jobs: | |
Package: | |
runs-on: macos-13 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setting up Xcode | |
run: sudo xcode-select -s "/Applications/Xcode_15.1.app" | |
- name: Run tests | |
run: set -o pipefail && xcrun xcodebuild build test -scheme QuranEngine-Package -sdk "iphonesimulator" -destination "name=iPhone 14 Pro,OS=17.2" | xcpretty | |
- uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
ExampleApp: | |
runs-on: macos-13 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setting up Xcode | |
run: sudo xcode-select -s "/Applications/Xcode_15.1.app" | |
- name: Build | |
run: set -o pipefail && xcrun xcodebuild build -project Example/QuranEngineApp.xcodeproj -scheme QuranEngineApp -sdk "iphonesimulator" -destination 'generic/platform=iOS' CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcpretty | |
SwiftFormat: | |
runs-on: macos-13 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setting up Xcode | |
run: sudo xcode-select -s "/Applications/Xcode_15.1.app" | |
- name: SwiftFormat | |
run: make format-lint |