File tree Expand file tree Collapse file tree 2 files changed +226
-201
lines changed Expand file tree Collapse file tree 2 files changed +226
-201
lines changed Original file line number Diff line number Diff line change 1+ name : manylinux
2+
3+ inputs :
4+ arch :
5+ required : true
6+ interpreter :
7+ required : true
8+ features :
9+ required : true
10+ compatibility :
11+ required : true
12+ publish :
13+ required : true
14+
15+ runs :
16+ using : " composite"
17+ steps :
18+
19+ - name : Build and test
20+ shell : bash
21+ run : |
22+ set -eou pipefail
23+
24+ mkdir dist
25+
26+ export PYTHON="${{ inputs.interpreter }}"
27+ if [[ "${PYTHON}" == *t ]]; then
28+ export PYTHON_PACKAGE="$(echo ${PYTHON} | sed 's/.$//')-freethreading"
29+ else
30+ export PYTHON_PACKAGE="${PYTHON}"
31+ fi
32+
33+ export TARGET="${{ inputs.arch }}-unknown-linux-gnu"
34+ export PATH="$PWD/.venv:$HOME/.cargo/bin:$PATH"
35+
36+ ./script/install-fedora
37+
38+ source "${VENV}/bin/activate"
39+
40+ maturin build --release --strip \
41+ --features="${{ inputs.features }}" \
42+ --compatibility="${{ inputs.compatibility }}" \
43+ --interpreter="${PYTHON}" \
44+ --target="${TARGET}"
45+
46+ uv pip install ${CARGO_TARGET_DIR}/wheels/orjson*.whl
47+
48+ pytest -v test
49+ ./integration/run thread
50+ ./integration/run http
51+ ./integration/run init
52+
53+ cp ${CARGO_TARGET_DIR}/wheels/orjson*.whl dist
You can’t perform that action at this time.
0 commit comments