- try fix publish_pypi
This commit is contained in:
1 parent
3c787e8d29
commit
d0c06256f1
2 files changed
+10
-3
No files matched your search
@@ -37,7 +37,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
if ! command -v llvm-dlltool >/dev/null 2>&1; then
|
if ! command -v llvm-dlltool >/dev/null 2>&1; then
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install -y llvm cmake libclang-dev
|
sudo apt install -y llvm cmake build-essential libclang-dev clang
|
||||||
fi
|
fi
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
@@ -56,7 +56,14 @@ jobs:
|
|||||||
- name: Install sccache and maturin
|
- name: Install sccache and maturin
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
python -m pip install --upgrade maturin ziglang
|
# ziglang >= 0.17 ships a bundled libc++ that requires -D_LIBCPP_* config
|
||||||
|
# macros only cargo-zigbuild >= 0.24.0 passes to bindgen; otherwise
|
||||||
|
# libczirw-sys fails with "hardening.h ... _LIBCPP_ASSERTION_SEMANTIC_DEFAULT
|
||||||
|
# is not defined". Pin the combo that is known to work.
|
||||||
|
python -m pip install --upgrade maturin "ziglang==0.17.0" "cargo-zigbuild==0.24.0"
|
||||||
|
# in case an older copy was cargo-installed into the CARGO_HOME cache,
|
||||||
|
# prevent it from shadowing the pip-installed one
|
||||||
|
rm -f "${CARGO_HOME:?}/bin/cargo-zigbuild" || true
|
||||||
if ! command -v sccache >/dev/null 2>&1; then
|
if ! command -v sccache >/dev/null 2>&1; then
|
||||||
cargo install sccache || pip install sccache
|
cargo install sccache || pip install sccache
|
||||||
fi
|
fi
|
||||||
|
|||||||
+1
-1
Submodule image-registration updated: fccc3e6f1d...e5136f00bb.
Reference in new issue
Block a user