forked from endless-sky/endless-sky
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (39 loc) · 1010 Bytes
/
xcode_check.yml
File metadata and controls
41 lines (39 loc) · 1010 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Validate XCode Project
on:
push:
branches:
- master
- v[0-9]+.[0-9]+.[0-9]+
paths:
- '.github/workflows/xcode_check.yml'
- 'EndlessSky.xcodeproj/**'
- 'source/**'
- 'tests/check_xcode.sh'
pull_request:
types: [opened, synchronize]
paths:
- '.github/workflows/xcode_check.yml'
- 'EndlessSky.xcodeproj/**'
- 'source/**'
- 'tests/check_xcode.sh'
jobs:
update-xcode-project:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
sudo apt-get install python3-setuptools python3-wheel
pip3 install docopt openstep_parser --user
- name: Install mod-pbxproj
run: |
pip3 install pbxproj --user
- name: Validate XCode .pbxproj file
run: |
./tests/check_xcode.sh
- name: Upload XCode patch
if: failure()
uses: actions/upload-artifact@v2
with:
name: xcode-project.patch
path: xcode-project.patch