-
Notifications
You must be signed in to change notification settings - Fork 17
55 lines (44 loc) · 1.34 KB
/
ci.yml
File metadata and controls
55 lines (44 loc) · 1.34 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
name: Build LinkKit
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: macos-26
env:
LINK_HASH: e9a2e414d63f55f1aad158370b007a6fbdc1eeb9
steps:
- name: Checkout Link
uses: actions/checkout@v4
with:
repository: Ableton/link
path: link
ref: ${{ env.LINK_HASH }}
submodules: recursive
- name: Checkout LinkKit
uses: actions/checkout@v4
with:
path: link_kit
- name: Print Link Hash and Xcode Version
run: |
echo "Link Hash $LINK_HASH"
SELECTED_XCODE_VERSION=$(xcodebuild -version) && echo "Xcode Version $SELECTED_XCODE_VERSION"
- name: Build LinkKit
run: |
cd link_kit
make link_dir=../link
- name: Build LinkHut
run: xcodebuild -project link_kit/build/LinkKit.xcodeproj -scheme LinkHut -sdk iphonesimulator build
- name: Build LinkHut example
run: xcodebuild -project link_kit/build/output/LinkKit/examples/LinkHut/LinkHut.xcodeproj -sdk iphonesimulator build
- name: Test
run: |
cd link_kit
make test link_dir=../link
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: LinkKit
path: link_kit/build/output/LinkKit