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 88
99jobs :
1010
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+
1137 build_linux_wheels :
1238 name : Build wheels for Linux
13- runs-on : ubuntu-latest
39+ runs-on : ${{ matrix.os }}
1440 strategy :
1541 matrix :
1642 include :
17- - platform : amd64
43+ - os : ubuntu-24.04
44+ platform : amd64
1845 container : quay.io/pypa/manylinux_2_28_x86_64
19- - platform : arm64
46+ - os : ubuntu-24.04-arm
47+ platform : arm64
2048 container : quay.io/pypa/manylinux_2_28_aarch64
2149
2250 steps :
2553 with :
2654 submodules : true
2755
28- - name : Set up QEMU
29- uses : docker/setup-qemu-action@v3
30- with :
31- platforms : ${{ matrix.platform }}
32-
3356 - name : Generate script
3457 run : |
3558 echo export PYO_COMPILE_ARGS=-g0 > build.sh
5780 uses : actions/upload-artifact@v4
5881 with :
5982 name : Linux_${{ matrix.platform }}_wheels
60- path : dist
83+ path : dist/*.whl
6184
6285 build_non_linux_wheels :
6386 name : Build wheels for ${{ matrix.os }} Python-${{ matrix.python-version}}-${{ matrix.arch }}
97120
98121 combine_artifacts :
99122 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]
101124 runs-on : ubuntu-latest
102125
103126 steps :
Original file line number Diff line number Diff line change @@ -30,6 +30,8 @@ Thick Mode Changes
3030Common Changes
3131++++++++++++++
3232
33+ #) Use GitHub Arm Linux runner for builds. Supplied by wojiushixiaobai
34+ (`PR 496 <https://github.com/oracle/python-oracledb/pull/496 >`__).
3335#) Improved the test suite and documentation.
3436
3537
You can’t perform that action at this time.
0 commit comments