-
Notifications
You must be signed in to change notification settings - Fork 1
35 lines (33 loc) · 1 KB
/
main.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
name: Build Tools
on:
push:
branches:
- oz/ci
jobs:
build-mac:
runs-on: macos-latest
env:
TAG: ${{ github.ref_name }}
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: brew install just ninja
- name: Clone
run: just clone
- name: Prepare
run: just prepare
- name: Build rust, cargo and newlib
run: just build-all
- name: Package
env:
APPLE_CODESIGN_IDENTITY: {{ secrets.APPLE_CODESIGN_IDENTITY }}
APPLE_CRED: {{ secrets.APPLE_CRED }}
APPLE_P12_BASE64: {{ secrets.APPLE_P12_BASE64 }}
APPLE_P12_PASSWORD: {{ secrets.APPLE_P12_PASSWORD }}
APPLE_TEAMID: {{ secrets.APPLE_TEAMID }}
APPLE_TEMPKEYCHAIN_PASSWORD: {{ secrets.APPLE_TEMPKEYCHAIN_PASSWORD }}
run: just package
- uses: actions/upload-artifact@v4
with:
name: platform-tools-osx-aarch64.tar.bz2
path: out/platform-tools-osx-aarch64.tar.bz2