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 e8a9666..0dfd7cf 100644 Binary files a/Cargo.lock and b/Cargo.lock differ 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"] }