-
Notifications
You must be signed in to change notification settings - Fork 52
50 lines (41 loc) · 1.46 KB
/
deploy.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
46
47
48
49
50
name: deploy
on: workflow_dispatch
jobs:
deploy_macos_x86_64:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Install
# Install libraries and Python packages we need
# Note that twine and delocate and so on are installed by deploy_macos.sh
# If Homebrew doesn't know the newest Python version or something like that, add:
# export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1
# brew update
run: |
brew install libomp glfw wget
- name: Deploy
run: bash tools/build/deploy_macos.sh
env:
PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
HOMEBREW_DIR: /usr/local
BUILD_THREADS: 3
MACOSX_DEPLOYMENT_TARGET: 12.0
deploy_macos_aarch64:
runs-on: macos-14
steps:
- uses: actions/checkout@v3
- name: Install
# Install libraries and Python packages we need
# Note that twine and delocate and so on are installed by deploy_macos.sh
# If Homebrew doesn't know the newest Python version or something like that, add:
# export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1
# brew update
run: |
brew install libomp glfw wget
- name: Deploy
run: bash tools/build/deploy_macos.sh
env:
PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
HOMEBREW_DIR: /opt/homebrew
BUILD_THREADS: 3
MACOSX_DEPLOYMENT_TARGET: 12.0