2025-08-07 15:59:48 -07:00
|
|
|
image: nixos/25.05
|
|
|
|
|
environment:
|
|
|
|
|
NIX_CONFIG: "experimental-features = nix-command flakes"
|
2026-01-28 10:53:41 -08:00
|
|
|
secrets:
|
|
|
|
|
- a0a725d2-f640-4a64-b71c-021d2f3f8378
|
2025-11-30 12:10:09 -08:00
|
|
|
sources:
|
|
|
|
|
- https://git.sr.ht/~alexdavid/jail.nix
|
2025-08-07 15:59:48 -07:00
|
|
|
tasks:
|
2026-01-28 10:53:41 -08:00
|
|
|
- setup: |
|
|
|
|
|
sudo ln -s /etc/zoneinfo/EST /etc/localtime
|
|
|
|
|
nix-env -iA cachix -f https://cachix.org/api/v1/install
|
|
|
|
|
cachix use jailnix
|
|
|
|
|
cachix doctor
|
|
|
|
|
- build-pkgs: |
|
|
|
|
|
cd jail.nix
|
|
|
|
|
nix build --print-build-logs --out-link result-tests ./tests#all-for-ci
|
|
|
|
|
cachix push jailnix result-tests
|
|
|
|
|
nix build --print-build-logs --out-link result-website ./website#default
|
|
|
|
|
cachix push jailnix result-website
|
|
|
|
|
- run-tests: cd jail.nix && cachix watch-exec jailnix -- result-tests/run-tests/bin/run-tests
|
|
|
|
|
- check-fmt: cd jail.nix && result-tests/check-fmt/bin/check-fmt
|