From 38f615dc88ba5f675b0a5581a6950d937c1d56e5 Mon Sep 17 00:00:00 2001 From: Jochen Maes Date: Fri, 27 Oct 2023 10:20:43 +0200 Subject: [PATCH] adds release 0.1.2 Signed-off-by: Jochen Maes --- .drone.yml | 18 +++++++++++------- Cargo.lock | 12 ++++++------ Cargo.toml | 4 ---- 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.drone.yml b/.drone.yml index eff0931..336bc38 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,14 +1,14 @@ --- kind: pipeline type: docker -name: "Mouse release pipeline" +name: mouse-release platform: arch: amd64 -trigger: - event: - - tag +#trigger: + # event: + # - tag volumes: - name: dockersock @@ -19,14 +19,15 @@ volumes: steps: - name: build amd64 - image: rust:1.73 + image: rust:1.73-alpine commands: + - apk add --no-cache musl-dev gcc-aarch64-none-elf - rustup target add x86_64-unknown-linux-musl - rustup target add aarch64-unknown-linux-musl - cargo build --target x86_64-unknown-linux-musl --bins -r - - cargo build --target aarch64-unknown-linux-musl --bins -r + - cargo rustc --target aarch64-unknown-linux-musl --bins -r -- -C linker=aarch64-none-elf-gcc - cp target/x86_64-unknown-linux-musl/release/mouse /artifcats/mouse-amd64 - - cp target/aarch64-unknown-linux-musl/release/mouse /artifcats/mouse-arm64 + - cp target/aarch64-unknown-linux-musl/release/mouse /artifcats/mouse-arm64 volumes: - name: artifacts path: /artifcats/ @@ -42,3 +43,6 @@ steps: volumes: - name: artifacts path: /artifcats/ + when: + event: + - tag diff --git a/Cargo.lock b/Cargo.lock index f0298c9..477125d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -194,18 +194,18 @@ checksum = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741" [[package]] name = "serde" -version = "1.0.189" +version = "1.0.190" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e422a44e74ad4001bdc8eede9a4570ab52f71190e9c076d14369f38b9200537" +checksum = "91d3c334ca1ee894a2c6f6ad698fe8c435b76d504b13d436f0685d648d6d96f7" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.189" +version = "1.0.190" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e48d1f918009ce3145511378cf68d613e3b3d9137d67272562080d68a2b32d5" +checksum = "67c5609f394e5c2bd7fc51efda478004ea80ef42fee983d5c67a65e34f32c0e3" dependencies = [ "proc-macro2", "quote", @@ -225,9 +225,9 @@ dependencies = [ [[package]] name = "serde_yaml" -version = "0.9.25" +version = "0.9.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a49e178e4452f45cb61d0cd8cebc1b0fafd3e41929e996cef79aa3aca91f574" +checksum = "3cc7a1570e38322cfe4154732e5110f887ea57e22b76f4bfd32b5bdd3368666c" dependencies = [ "indexmap", "itoa", diff --git a/Cargo.toml b/Cargo.toml index 597965f..5526f7b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,10 +5,6 @@ description = "Information gatherer for systems." version = "0.1.0" edition = "2021" -[registries] -gitea = { index = "https://gitea.sejo-it.be/SeJo-IT/_cargo-index" } - - # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies]