From 6959f1930bbf71690c3b2e6d0deed3629ff0fee4 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 6 May 2019 01:05:35 -0300 Subject: Use NixOS instead of Debian of CI build OS. --- .build.yml | 11 ++++------- TODOs.org | 3 --- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/.build.yml b/.build.yml index 6794a17..de22d26 100644 --- a/.build.yml +++ b/.build.yml @@ -1,18 +1,15 @@ -image: debian/stretch -packages: - - curl +image: nixos/unstable +repositories: + nixpkgs: https://nixos.org/channels/nixpkgs-unstable triggers: - condition: failure action: email - to: EuAndreh + to: EuAndreh sources: - https://git.sr.ht/~euandreh/website secrets: - 7159f943-811f-402d-bb6d-37cd764dc728 tasks: - - setup: | - curl https://nixos.org/nix/install | sh - echo '. ~/.nix-profile/etc/profile.d/nix.sh' >> ~/.buildenv - tests: | cd website/ nix-build -A test diff --git a/TODOs.org b/TODOs.org index 7eb5192..1104fe0 100644 --- a/TODOs.org +++ b/TODOs.org @@ -12,6 +12,3 @@ Nested help ** DONE Print usage when no subcommand is provided CLOSED: [2019-01-01 Tue 19:35] ** Add tests when actually running subcommands -* CI -** Improvements -*** Use NixOS instead of Debian? -- cgit v1.2.3