#!/bin/bash
# WF 2026-02-02

# Check if running in GitHub Actions CI
if [ -n "$GITHUB_ACTIONS" ]; then
  echo "Running in GitHub Actions - installing system dependencies"
  sudo apt-get update
  # https://github.com/pygobject/pycairo/issues/386
  sudo apt-get install -y \
    djvulibre-bin \
    libdjvulibre-dev \
    pkg-config \
    build-essential
fi

pip install .