From 21aafaa5f931896d7d74897d73c6e992006f1329 Mon Sep 17 00:00:00 2001 From: Alya Sirko Date: Sat, 27 Aug 2022 15:18:03 +0300 Subject: [PATCH] nix-shell environment and basic drone ci config --- .drone.yml | 8 ++++++++ shell.nix | 5 +++++ 2 files changed, 13 insertions(+) create mode 100644 .drone.yml create mode 100644 shell.nix diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 00000000..95fdd11e --- /dev/null +++ b/.drone.yml @@ -0,0 +1,8 @@ +kind: pipeline +type: exec +name: default + +steps: + - name: build + commands: + - nix-shell --pure --run "flutter build apk --split-per-abi" diff --git a/shell.nix b/shell.nix new file mode 100644 index 00000000..893e6913 --- /dev/null +++ b/shell.nix @@ -0,0 +1,5 @@ +{ pkgs ? import {} }: + +pkgs.mkShell { + nativeBuildInputs = [ pkgs.flutter ]; +}