-
Notifications
You must be signed in to change notification settings - Fork 52
80 lines (63 loc) · 2.12 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
name: deploy
on: workflow_dispatch
jobs:
deploy_linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install
# Install libraries and Python packages we need
run: python3 -m pip install -U twine
- name: Deploy
run: bash tools/build/deploy_linux.sh
env:
PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
deploy_macos_x86_64:
runs-on: macos-13
steps:
- uses: actions/checkout@v4
- 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
- name: Deploy
run: bash tools/build/deploy_macos.sh
env:
PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
HOMEBREW_DIR: /usr/local
BUILD_THREADS: 3
deploy_macos_aarch64:
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- 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
- name: Deploy
run: bash tools/build/deploy_macos.sh
env:
PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
HOMEBREW_DIR: /opt/homebrew
BUILD_THREADS: 3
deploy_windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Install
# Install libraries and Python packages we need
run: |
choco install openjdk8 --no-progress --yes
python -m pip install wheel build twine wget
- name: Deploy
run: tools/build/deploy_windows.bat
env:
PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}