Repository navigation
56 lines (47 loc) · 1.56 KB
/
Copy pathci.yml
File metadata and controls
56 lines (47 loc) · 1.56 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: CI
on:
push:
branches: [master]
pull_request:
permissions:
contents: read
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
docs:
name: Docs (markdownlint + link check)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Lint Markdown
uses: DavidAnson/markdownlint-cli2-action@21c1be1b93ad9ed58fa840aacc3f279cde2a72ff # v24.2.0
with:
globs: README.md
- name: Check links
uses: lycheeverse/lychee-action@e7477775783ea5526144ba13e8db5eec57747ce8 # v2.9.0
with:
args: --no-progress --accept 200,429 README.md
fail: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
build:
name: Build demo app (iOS Simulator)
runs-on: macos-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Show Xcode version
run: xcodebuild -version
# The project dates from Xcode 5 and targets iOS 7, and its only scheme is a
# per-user scheme, so build the target directly. Raise the deployment target
# on the command line because current Xcode no longer supports iOS 7.
- name: Build
run: |
set -o pipefail
xcodebuild build \
-project SystemSoundLibrary.xcodeproj \
-target SystemSoundLibrary \
-configuration Debug \
-sdk iphonesimulator \
IPHONEOS_DEPLOYMENT_TARGET=12.0 \
CODE_SIGNING_ALLOWED=NO