Merge pull request #34 from inDriver/feature/public-CombineSideEffect #124
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: master | |
on: | |
# Trigger the workflow on push, | |
push: | |
branches: | |
- 'develop' | |
- 'master' | |
- 'feature/**' | |
# Триггер – пул реквесты *В* бранчи | |
# т.е. базовой веткой pr'а должна быть одна из перечисленных | |
pull_request: | |
types: [ opened, synchronize ] | |
# фичи могут мерджится в эти ветки | |
branches: | |
- 'feature/**' | |
- 'develop' | |
# Trigger manually | |
workflow_dispatch: | |
jobs: | |
build: | |
name: develop build | |
# Image description https://github.com/actions/runner-images/blob/main/images/macos/macos-12-Readme.md | |
runs-on: macos-12 | |
timeout-minutes: 90 | |
env: | |
LC_ALL: en_US.UTF-8 | |
LANG: en_US.UTF-8 | |
LANGUAGE: en_US.UTF-8 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build | |
run: xcodebuild -project UDF.xcodeproj | |
- name: Show SDK | |
# For available image environment showcase | |
run: xcodebuild -showsdks | |
- name: Test | |
run: xcodebuild test -project UDF.xcodeproj -scheme UDF -destination 'platform=iOS Simulator,name=iPhone 11,OS=16.2' |