Hercules CI Agent

August 15, 2024 ยท View on GitHub

Hercules CI

Hercules CI Agent runs on your infrastructure and executes tasks (evaluation, builds, etc) for your Hercules CI account.

Documentation

Hacking

Install into home:

cabal v2-install --disable-documentation --disable-optimization hercules-ci-agent hercules-ci-cli --overwrite-policy always

Start installed agent

hercules_ci_agent_bindir=$HOME/.cabal/bin ~/.cabal/bin/hercules-ci-agent

Build nixUnstable with cabal:

  • change ../nix/shellFor-cabal.nix to pick the right job from the ci param, then
  • run:
cd hercules-ci-cnix-store-expr
nix-shell ../nix/shellFor-cabal.nix
cabal v2-test -fnix-2_4 --enable-debug-info --disable-library-stripping --disable-executable-stripping