Skip to content

Commit 627d16a

Browse files
CI: add testing on omniOS ("OpenSolaris")
1 parent ffc1504 commit 627d16a

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/ci.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,11 @@ jobs:
396396
display_name: OpenBSD
397397
do_binaries: false
398398

399+
- os: omnios
400+
version: 'r151056'
401+
display_name: OmniOS
402+
do_binaries: false
403+
399404
- os: haiku
400405
version: 'r1beta5'
401406
display_name: Haiku
@@ -523,6 +528,33 @@ jobs:
523528
tox -e py312-none
524529
;;
525530
531+
omnios)
532+
sudo pkg install gcc14 git pkg-config python-313 gnu-make gnu-coreutils
533+
sudo ln -sf /usr/bin/python3.13 /usr/bin/python3
534+
sudo ln -sf /usr/bin/python3.13-config /usr/bin/python3-config
535+
sudo python3 -m ensurepip
536+
sudo python3 -m pip install virtualenv
537+
538+
# install libxxhash from source
539+
git clone --depth 1 https://github.com/Cyan4973/xxHash.git
540+
cd xxHash
541+
sudo gmake install INSTALL=/usr/gnu/bin/install PREFIX=/usr/local
542+
cd ..
543+
export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:${PKG_CONFIG_PATH:-}"
544+
export LD_LIBRARY_PATH="/usr/local/lib:${LD_LIBRARY_PATH:-}"
545+
546+
python3 -m venv .venv
547+
. .venv/bin/activate
548+
python -V
549+
pip -V
550+
python -m pip install --upgrade pip wheel
551+
pip install -r requirements.d/development.txt
552+
# no fuse support on omnios in our tests usually
553+
pip install -e .
554+
555+
tox -e py313-none
556+
;;
557+
526558
haiku)
527559
pkgman refresh
528560
pkgman install -y git pkgconfig zstd lz4 xxhash

0 commit comments

Comments
 (0)