-
Notifications
You must be signed in to change notification settings - Fork 501
45 lines (36 loc) · 1.1 KB
/
build_macos.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
40
41
42
43
44
45
name: "[MacOS] Build TF Examples"
on:
push:
jobs:
macOS:
strategy:
fail-fast: false
matrix:
os: [macos-10.15, macos-11]
skipbuild: ["--skipmacosbuild", "--skipiosbuild"]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout The-Forge
uses: actions/checkout@v3
with:
path: The-Forge
- name: Checkout Custom-Middleware
uses: actions/checkout@v3
with:
path: Custom-Middleware
repository: ${{ github.repository_owner }}/Custom-Middleware
ref: ${{ github.ref_name }} # Checkout the Custom-Middleware branch with the same name as the The-Forge branch we're building
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Print disk space
shell: pwsh
run: Get-PSDrive
- name: Build
working-directory: The-Forge
run: python -u ./CI/PyBuild.py --preserveworkingdir --prebuild --printbuildoutput --skipioscodesigning ${{ matrix.skipbuild }}
- name: Print disk space
if: always()
shell: pwsh
run: Get-PSDrive