Skip to content

Commit a71123c

Browse files
committed
fix(ci): install build dependencies for Linux dev builds in bendpy action
The test_bendpy job runs on a bare self-hosted ARM64 runner without clang/build-essential installed. Add a setup step that runs dev_setup.sh to install build dependencies and sets JEMALLOC env vars for Linux development builds, matching what the macOS path already does.
1 parent 395df92 commit a71123c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/actions/build_bindings_python/action.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,18 @@ runs:
5555
echo "JEMALLOC_SYS_WITH_LG_PAGE=14" >> $GITHUB_ENV
5656
echo "JEMALLOC_SYS_WITH_MALLOC_CONF=oversize_threshold:0,dirty_decay_ms:5000,muzzy_decay_ms:5000" >> $GITHUB_ENV
5757
58+
- name: Setup build dependencies for Linux
59+
if: contains(inputs.target, '-linux') && inputs.version == ''
60+
shell: bash
61+
run: |
62+
bash ./scripts/setup/dev_setup.sh -yb
63+
if [[ "${{ inputs.target }}" == aarch64-* ]]; then
64+
echo "JEMALLOC_SYS_WITH_LG_PAGE=16" >> $GITHUB_ENV
65+
else
66+
echo "JEMALLOC_SYS_WITH_LG_PAGE=14" >> $GITHUB_ENV
67+
fi
68+
echo "JEMALLOC_SYS_WITH_MALLOC_CONF=oversize_threshold:0,dirty_decay_ms:5000,muzzy_decay_ms:5000" >> $GITHUB_ENV
69+
5870
- name: Setup uv
5971
uses: astral-sh/setup-uv@v5
6072
with:

0 commit comments

Comments
 (0)