File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# This is a basic workflow to help you get started with Actions
22
3- name : CI
3+ name : SpringText CI
44
55# Controls when the action will run. Triggers the workflow on push or pull request
66# events but only for the master branch
77on :
88 push :
9- branches : [ master ]
9+ branches :
10+ - master
11+ - hotfix
1012 pull_request :
11- branches : [ master ]
13+ branches :
14+ - ' *'
1215
1316# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1417jobs :
15- # This workflow contains a single job called "build"
16- build :
17- # The type of runner that the job will run on
18- runs-on : ubuntu-latest
19-
20- # Steps represent a sequence of tasks that will be executed as part of the job
18+ macOS_5_2 :
19+ name : Test macOS (5.2)
20+ runs-on : macOS-latest
21+ env :
22+ DEVELOPER_DIR : /Applications/Xcode_11.7.app/Contents/Developer
2123 steps :
22- # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
2324 - uses : actions/checkout@v2
24-
25- # Runs a single command using the runners shell
26- - name : Run a one-line script
27- run : echo Hello, world!
28-
29- # Runs a set of commands using the runners shell
30- - name : Run a multi-line script
31- run : |
32- echo Add other actions to build,
33- echo test, and deploy your project.
25+ - name : macOS (5.2)
26+ run : set -o pipefail && env NSUnbufferedIO=YES xcodebuild -project "SpringText.xcodeproj" -scheme "SpringText iOS" -destination "platform=iOS" clean test | xcpretty
You can’t perform that action at this time.
0 commit comments