Fix #1671
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: SDK CI | |
on: | |
push: | |
branches: | |
- '**' | |
- '!master' | |
- '!release-*' | |
paths-ignore: | |
- '**.md' | |
tags-ignore: | |
- '**' | |
jobs: | |
SwiftLint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cirruslabs/swiftlint-action@v1 | |
with: | |
args: --config .swiftlint.yml | |
build: | |
runs-on: macos-latest | |
timeout-minutes: 15 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: latest-stable | |
- name: Update bundler | |
run: gem install bundler | |
- name: Install bundler dependencies | |
run: bundle install | |
# - name: Install yeetd | |
# run: | | |
# wget https://github.com/biscuitehh/yeetd/releases/download/1.0/yeetd-normal.pkg | |
# sudo installer -pkg yeetd-normal.pkg -target / | |
# yeetd & | |
- name: Update Fastlane | |
run: bundle update fastlane | |
- name: Check Fastlane scan parameters | |
run: bundle exec fastlane action scan | |
# - name: List available simulators | |
# run: xcrun simctl list | |
# | |
# - name: Boot simulator | |
# run: xcrun simctl boot "iPhone SE (3rd generation)" | |
# | |
# - name: Shutdown simulator | |
# run: xcrun simctl shutdown all | |
# - name: Shutdown all simulators | |
# run: xcrun simctl shutdown all | |
# | |
# - name: Erase all simulators | |
# run: xcrun simctl erase all | |
- name: Run unit tests | |
run: bundle exec fastlane unitTestLane |