-
Notifications
You must be signed in to change notification settings - Fork 28
39 lines (35 loc) · 960 Bytes
/
ci.yml
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
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
macos_big_sur:
runs-on: macos-11
strategy:
matrix:
xcode:
- "13.2" # Swift 5.5
name: "macOS Big Sur (Xcode ${{ matrix.xcode }})"
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Get build paths
id: getpaths
run: |
echo ::set-output name=OUT_PATH::$(make where-out 2>/dev/null | tail -n1)
echo ::set-output name=TXZ_PATH::$(make where-txz 2>/dev/null | tail -n1)
- name: Build All Apps
run: |
make allapps
env:
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
- name: Create Package
run: |
make txz
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: allapps.tar.xz
path: ${{ steps.getpaths.outputs.TXZ_PATH }}