Skip to content

Commit 259b432

Browse files
authored
Add pcodec to 32-bit CI (#786)
1 parent a11c4e2 commit 259b432

File tree

1 file changed

+27
-7
lines changed

1 file changed

+27
-7
lines changed

.github/workflows/ci-i386.yml

Lines changed: 27 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,23 +27,43 @@ jobs:
2727
arch: x86
2828
packages: >
2929
build-base
30-
python3
31-
python3-dev
30+
cargo
31+
cmake
32+
cython
3233
git
33-
py3-pip
34-
py3-pytest
35-
uv
3634
meson
3735
pkgconf
36+
rust
37+
sed
38+
sudo
39+
uv
40+
zstd
41+
python3
42+
python3-dev
3843
py3-numpy
3944
py3-numpy-dev
40-
zstd
45+
py3-pip
46+
py3-pytest
47+
48+
- name: Install zfp
49+
run: |
50+
uv venv
51+
PYTHON_INCLUDE=$(uv run python -c 'from sysconfig import get_paths; print(get_paths()["include"])');
52+
PYTHON_LIB=$(uv run python -c 'import sysconfig; print(sysconfig.get_config_var("LIBDIR"))');
53+
git clone https://github.com/LLNL/zfp
54+
sed -i "s/distutils.sysconfig/sysconfig/g" zfp/python/scikit-build-cmake/FindPythonExtensions.cmake
55+
mkdir zfp/build;
56+
uv run cmake zfp -B zfp/build -DBUILD_ZFPY=ON -DBUILD_TESTING=OFF -DPYTHON_LIBRARY=$PYTHON_LIB -DPYTHON_INCLUDE_DIR=$PYTHON_INCLUDE
57+
uv run make -j -C zfp/build
58+
uv run sudo make -C zfp/build install
59+
uv add "zfpy @ ./zfp"
60+
shell: alpine.sh {0}
4161

4262
- name: Install numcodecs
4363
run: |
4464
export DISABLE_NUMCODECS_AVX2=""
4565
uv venv
46-
uv pip install -v -e .[test,test_extras,msgpack,crc32c]
66+
uv pip install -v -e .[test,test_extras,msgpack,crc32c,pcodec,zfpy]
4767
shell: alpine.sh {0}
4868

4969
- name: List installed packages

0 commit comments

Comments
 (0)