mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-09-14 11:06:13 +05:00
fix: reduce OpenBSD docs cargo build pressure
This commit is contained in:
parent
2e33794cdf
commit
dcf533e550
2
.github/workflows/docs.yml
vendored
2
.github/workflows/docs.yml
vendored
@ -168,8 +168,10 @@ jobs:
|
||||
uses: vmactions/openbsd-vm@c941015845c0f0c429676840963dc63b226d4f69 # v1.4.5
|
||||
with:
|
||||
usesh: true
|
||||
cpu: 1
|
||||
prepare: pkg_add uv rust
|
||||
run: |
|
||||
export CARGO_BUILD_JOBS=1
|
||||
abxpkg_version="$(uv run --no-project python -c 'import tomllib; dependencies = tomllib.load(open("pyproject.toml", "rb"))["project"]["dependencies"]; print(next(dependency.split("==", 1)[1] for dependency in dependencies if dependency.startswith("abxpkg==")))')"
|
||||
export ABXPKG_LIB_DIR="/tmp/archivebox-docs-lib"
|
||||
uvx --from "abxpkg==$abxpkg_version" abxpkg env \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user