-
Notifications
You must be signed in to change notification settings - Fork 4
38 lines (28 loc) · 979 Bytes
/
build.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
name: Build artifacts
on:
push:
pull_request:
create:
env:
ANGLE_BUILDER_OUTPUT_FOLDER: ./angle-builder-output
jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout angle-builder
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
- name: Install angle-builder
run: pip install .
- name: Build artifacts for macos-x64
run: angle-builder macos-x64 --artifact-output-folder $ANGLE_BUILDER_OUTPUT_FOLDER
- name: Build artifacts for macos-arm64
run: angle-builder macos-arm64 --artifact-output-folder $ANGLE_BUILDER_OUTPUT_FOLDER
- name: Build artifacts for macos-universal
run: angle-builder macos-universal --artifact-output-folder $ANGLE_BUILDER_OUTPUT_FOLDER
- name: Store artifacts
uses: actions/upload-artifact@v4
with:
name: macos-angle-artifacts
path: ${{ env.ANGLE_BUILDER_OUTPUT_FOLDER }}