-
Notifications
You must be signed in to change notification settings - Fork 103
55 lines (46 loc) · 1.61 KB
/
linux-wheel-workflow.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
name: Build-Linux-Wheels
on:
workflow_dispatch:
workflow_call:
inputs:
isNightly:
type: boolean
required: true
default: false
jobs:
build-linux-wheels-x86_64:
runs-on: kuzu-self-hosted-linux-building-x86_64_centos7
steps:
- uses: actions/checkout@v3
- name: Update nightly version
if: ${{ inputs.isNightly == true }}
run: /opt/python/cp310-cp310/bin/python update-nightly-build-version.py
working-directory: scripts
- name: Build wheels
working-directory: ./scripts/pip-package/
run: |
cp /home/runner/build_all_packages.sh .
source /opt/rh/devtoolset-11/enable
./build_all_packages.sh
- uses: actions/upload-artifact@v3
with:
name: linux-wheels-x86_64
path: ./scripts/pip-package/wheelhouse/*manylinux2014_x86_64.whl
build-linux-wheels-aarch64:
# Make sure this job runs on the larger self-hosted Linux ARM64 machine
runs-on: [kuzu-self-hosted-linux-building-aarch64, ac3]
steps:
- uses: actions/checkout@v3
- name: Update nightly version
if: ${{ inputs.isNightly == true }}
run: /opt/python/cp310-cp310/bin/python update-nightly-build-version.py
working-directory: scripts
- name: Build wheels
working-directory: ./scripts/pip-package/
run: |
cp /home/runner/build_all_packages.sh .
./build_all_packages.sh
- uses: actions/upload-artifact@v3
with:
name: linux-wheels-aarch64
path: ./scripts/pip-package/wheelhouse/*manylinux_2_28_aarch64.whl