File tree Expand file tree Collapse file tree 2 files changed +35
-10
lines changed Expand file tree Collapse file tree 2 files changed +35
-10
lines changed Original file line number Diff line number Diff line change 8
8
9
9
jobs :
10
10
11
+ build_source_package :
12
+ name : Build source package
13
+ runs-on : ubuntu-latest
14
+ steps :
15
+
16
+ - uses : actions/checkout@v4
17
+ with :
18
+ submodules : true
19
+
20
+ - uses : actions/setup-python@v5
21
+ with :
22
+ cache : ' pip'
23
+ python-version : 3.13
24
+
25
+ - name : Ensure build package is present
26
+ run : python -m pip install setuptools
27
+
28
+ - name : Build wheel for Python ${{ matrix.python-version }}
29
+ run : python setup.py sdist
30
+
31
+ - name : Upload the artifact
32
+ uses : actions/upload-artifact@v4
33
+ with :
34
+ name : python-oracledb-source
35
+ path : dist
36
+
11
37
build_linux_wheels :
12
38
name : Build wheels for Linux
13
- runs-on : ubuntu-latest
39
+ runs-on : ${{ matrix.os }}
14
40
strategy :
15
41
matrix :
16
42
include :
17
- - platform : amd64
43
+ - os : ubuntu-24.04
44
+ platform : amd64
18
45
container : quay.io/pypa/manylinux_2_28_x86_64
19
- - platform : arm64
46
+ - os : ubuntu-24.04-arm
47
+ platform : arm64
20
48
container : quay.io/pypa/manylinux_2_28_aarch64
21
49
22
50
steps :
25
53
with :
26
54
submodules : true
27
55
28
- - name : Set up QEMU
29
- uses : docker/setup-qemu-action@v3
30
- with :
31
- platforms : ${{ matrix.platform }}
32
-
33
56
- name : Generate script
34
57
run : |
35
58
echo export PYO_COMPILE_ARGS=-g0 > build.sh
57
80
uses : actions/upload-artifact@v4
58
81
with :
59
82
name : Linux_${{ matrix.platform }}_wheels
60
- path : dist
83
+ path : dist/*.whl
61
84
62
85
build_non_linux_wheels :
63
86
name : Build wheels for ${{ matrix.os }} Python-${{ matrix.python-version}}-${{ matrix.arch }}
97
120
98
121
combine_artifacts :
99
122
name : Combine artifacts into single artifact
100
- needs : [build_linux_wheels, build_non_linux_wheels]
123
+ needs : [build_source_package, build_linux_wheels, build_non_linux_wheels]
101
124
runs-on : ubuntu-latest
102
125
103
126
steps :
Original file line number Diff line number Diff line change @@ -30,6 +30,8 @@ Thick Mode Changes
30
30
Common Changes
31
31
++++++++++++++
32
32
33
+ #) Use GitHub Arm Linux runner for builds. Supplied by wojiushixiaobai
34
+ (`PR 496 <https://github.com/oracle/python-oracledb/pull/496 >`__).
33
35
#) Improved the test suite and documentation.
34
36
35
37
You can’t perform that action at this time.
0 commit comments