File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -102,12 +102,17 @@ jobs:
102102 runs-on : ubuntu-24.04
103103 steps :
104104 - uses : actions/checkout@v6
105- - uses : actions/setup-python@v6
105+ # Build inside manylinux2014 so the shipped Rust binary targets glibc 2.17
106+ # instead of the newer glibc from the GitHub-hosted Ubuntu runner.
107+ - uses : PyO3/maturin-action@v1
106108 with :
107- python-version : " 3.12"
108- - uses : dtolnay/rust-toolchain@stable
109- - run : python -m pip install "maturin>=1.0,<2.0"
110- - run : maturin build --release --out dist --manifest-path dlslime-ctrl/Cargo.toml
109+ manylinux : " 2014"
110+ command : build
111+ args : >-
112+ --release
113+ --out dist
114+ --manifest-path dlslime-ctrl/Cargo.toml
115+ --compatibility manylinux2014
111116 - uses : actions/upload-artifact@v4
112117 with :
113118 name : dist-dlslime-ctrl
You can’t perform that action at this time.
0 commit comments