diff options
-rw-r--r-- | .builds/ci.nix | 29 | ||||
-rw-r--r-- | .builds/nixos.yml | 20 |
2 files changed, 0 insertions, 49 deletions
diff --git a/.builds/ci.nix b/.builds/ci.nix deleted file mode 100644 index 8927ee2..0000000 --- a/.builds/ci.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ ... }: - -let - moz_overlay = import ( - builtins.fetchTarball https://github.com/mozilla/nixpkgs-mozilla/archive/master.tar.gz - ); - - pkgs = import <nixpkgs> { overlays = [ moz_overlay ]; }; -in pkgs.mkShell { - buildInputs = with pkgs; [ - rustChannels.stable.rust-std - rustChannels.stable.rust - rustChannels.stable.rustc - rustChannels.stable.cargo - - postgresql - - cmake - curl - gcc - openssl - pkgconfig - which - zlib - ]; - - LIBCLANG_PATH = "${pkgs.llvmPackages.libclang}/lib"; -} - diff --git a/.builds/nixos.yml b/.builds/nixos.yml deleted file mode 100644 index cda3a42..0000000 --- a/.builds/nixos.yml +++ /dev/null @@ -1,20 +0,0 @@ -image: nixos/20.09 -repositories: - nixpkgs: https://nixos.org/channels/nixos-20.09 -sources: - - https://git.sr.ht/~matthiasbeyer/butido -tasks: - - install: | - cd butido - nix-shell ./.builds/ci.nix --run "echo nix-shell ready" - - build: | - cd butido - nix-shell ./.builds/ci.nix --run "cargo build --all --all-features" - - test: | - cd butido - nix-shell ./.builds/ci.nix --run "cargo test --all --all-features" -triggers: - - action: email - condition: always - to: mail@beyermatthias.de, matthias.beyer@atos.net - |