From 53ead537ff412ce0d7325fef7a9950656d515133 Mon Sep 17 00:00:00 2001 From: Tobias Reisinger Date: Tue, 9 Nov 2021 16:43:43 +0100 Subject: [PATCH] Prepare pipeline --- .drone.yml | 38 ++++++++++++++++++++++++++++++++++++++ Cargo.lock | Bin 49456 -> 49482 bytes Cargo.toml | 1 + 3 files changed, 39 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..8a07dd3 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,38 @@ +kind: pipeline +name: default + +workspace: + path: /drone/src + +steps: +- name: build + image: registry.serguzim.me/emgauwa/builder:rust + volumes: + - name: docker-socket + path: /var/run/docker.sock + pull: always + commands: + - cross build --release --target arm-unknown-linux-musleabihf + - ls -lh ./target/arm-unknown-linux-musleabihf/release/emgauwa-core + +- name: gitea_release + image: plugins/gitea-release + settings: + api_key: + from_secret: gitea_token + base_url: https://git.serguzim.me + title: ${DRONE_TAG} + when: + event: tag + +trigger: + ref: + include: + - refs/heads/main + - refs/heads/testing + - refs/tags/** + +volumes: +- name: docker-socket + host: + path: /var/run/docker.sock diff --git a/Cargo.lock b/Cargo.lock index e8a9666960442d71b86275dbd96a5fb019a51d88..0dfd7cf0428def6664487d060586176891d312e7 100644 GIT binary patch delta 46 zcmdnc#C)oWdBZtlzMRaY;=-KFl2l{e;>zO5iBh7I<)`p$er3E&Wpck9`{oG|3o-z? CkP^iJ delta 31 mcmX@r#JmBB&KXZmlMeH diff --git a/Cargo.toml b/Cargo.toml index 756d5cc..cd677b7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,4 +19,5 @@ env_logger = "0.9.0" serde = "1.0" serde_json = "1.0" serde_derive = "1.0" +libsqlite3-sys = { version = "*", features = ["bundled"] } uuid = { version = "0.8", features = ["serde", "v4"] }