Skip to content

Commit

Permalink
CI: test greenlet on OmniOS v11 (workaround)
Browse files Browse the repository at this point in the history
libev assumes inotify.h must be Linux. make autoconf stop offering it.
  • Loading branch information
pajod committed Sep 5, 2024
1 parent 81b60b5 commit f8bda39
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/foreign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,10 @@ jobs:
- uses: actions/checkout@v4
- uses: vmactions/omnios-vm@v1
with:
# need inotify not installed so libev does not assume __linux
# need gcc installed to compile greenlet from source
# need gcc: compile greenlet from source
# autoconf must pretend inotify unavail: libev FTBFS
prepare: |
pkg uninstall --ignore-missing inotify \
&& pkg install pip-311 python-311 sqlite-3 nginx gcc13
pkg install pip-311 python-311 sqlite-3 nginx gcc13
usesh: true
copyback: false
run: |
Expand All @@ -80,6 +79,8 @@ jobs:
&& openssl version \
&& pkg info nginx \
&& gcc -dM -E - </dev/null \
&& export ac_cv_header_sys_inotify_h=no \
&& export ac_cv_func_inotify_init=no \
&& python3 -m pip install tox \
&& python3 -m tox --version \
&& python3 -m tox -e run-module \
Expand Down

0 comments on commit f8bda39

Please sign in to comment.