~jack/reflex-libtelnet

15723feef5374f303d32b7a237306db50282170e — Jack Kelly 6 months ago ea7a914
CI
2 files changed, 21 insertions(+), 5 deletions(-)

M .build.yml
M flake.nix
M .build.yml => .build.yml +17 -5
@@ 1,15 1,27 @@
image: nixos/latest
image: nixos/unstable
repositories:
  nixpkgs: https://nixos.org/channels/nixpkgs-unstable
sources:
  - https://git.sr.ht/~jack/reflex-libtelnet
tasks:
  - reflex-libtelnet: |
  - ghc902: |
      cd reflex-libtelnet
      nix-build -A reflex-libtelnet
  - reflex-libtelnet-example: |
      nix build --extra-experimental-features 'nix-command flakes' -L .#ghc902
  - ghc902-example: |
      cd reflex-libtelnet
      nix-build -A reflex-libtelnet-example
      nix build --extra-experimental-features 'nix-command flakes' -L .#ghc902-example
  - ghc8107: |
      cd reflex-libtelnet
      nix build --extra-experimental-features 'nix-command flakes' -L .#ghc8107
  - ghc8107-example: |
      cd reflex-libtelnet
      nix build --extra-experimental-features 'nix-command flakes' -L .#ghc8107-example
  - ghc884: |
      cd reflex-libtelnet
      nix build --extra-experimental-features 'nix-command flakes' -L .#ghc884
  - ghc884-example: |
      cd reflex-libtelnet
      nix build --extra-experimental-features 'nix-command flakes' -L .#ghc884-example
triggers:
  - condition: failure
    action: email

M flake.nix => flake.nix +4 -0
@@ 40,9 40,13 @@
      defaultPackage = packages.ghc902;
      packages = {
        ghc884 = (makePackageSet ghc884).reflex-libtelnet;
        ghc884-example = (makePackageSet ghc884).reflex-libtelnet-example;
        ghc8107 = (makePackageSet ghc8107).reflex-libtelnet;
        ghc8107-example = (makePackageSet ghc8107).reflex-libtelnet-example;
        ghc902 = (makePackageSet ghc902).reflex-libtelnet;
        ghc902-example = (makePackageSet ghc902).reflex-libtelnet-example;
      };

      devShell = devShells.ghc902;
      devShells = {
        ghc884 = makeShell ghc884;