-
-
Notifications
You must be signed in to change notification settings - Fork 11
63 lines (51 loc) · 1.42 KB
/
ci.yaml
File metadata and controls
63 lines (51 loc) · 1.42 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
57
58
59
60
61
62
63
name: CI
on:
pull_request:
env:
FORCE_COLOR: "1"
defaults:
run:
shell: bash
# Cancel active CI runs for a PR before starting another run
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
config:
name: ${{ matrix.target }}
runs-on: macOS-latest
strategy:
fail-fast: false
matrix:
target: [ "iOS", "MacCatalyst", "tvOS", "visionOS", "watchOS" ]
steps:
- name: Checkout
uses: actions/checkout@v6.0.1
- name: Set up Python
uses: actions/setup-python@v6.1.0
with:
python-version: "3.X"
- name: Build BZip2 for ${{ matrix.target }}
run: |
make BZip2-${{ matrix.target }}
- name: Build XZ for ${{ matrix.target }}
run: |
make XZ-${{ matrix.target }}
- name: Build libFFI for ${{ matrix.target }}
run: |
make libFFI-${{ matrix.target }}
- name: Build mpdecimal for ${{ matrix.target }}
run: |
make mpdecimal-${{ matrix.target }}
- name: Build zstd for ${{ matrix.target }}
run: |
make zstd-${{ matrix.target }}
- name: Build OpenSSL for ${{ matrix.target }}
run: |
make OpenSSL-${{ matrix.target }}
- name: Upload Build Artifact
uses: actions/upload-artifact@v5.0.0
with:
name: dist-${{ matrix.target }}
path: dist
if-no-files-found: error