adds release 0.1.2
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is failing

Signed-off-by: Jochen Maes <jochen@sejo-it.be>
This commit is contained in:
Jochen Maes 2023-10-27 10:20:43 +02:00
parent b20a2b1539
commit 38f615dc88
3 changed files with 17 additions and 17 deletions

View File

@ -1,14 +1,14 @@
--- ---
kind: pipeline kind: pipeline
type: docker type: docker
name: "Mouse release pipeline" name: mouse-release
platform: platform:
arch: amd64 arch: amd64
trigger: #trigger:
event: # event:
- tag # - tag
volumes: volumes:
- name: dockersock - name: dockersock
@ -19,14 +19,15 @@ volumes:
steps: steps:
- name: build amd64 - name: build amd64
image: rust:1.73 image: rust:1.73-alpine
commands: commands:
- apk add --no-cache musl-dev gcc-aarch64-none-elf
- rustup target add x86_64-unknown-linux-musl - rustup target add x86_64-unknown-linux-musl
- rustup target add aarch64-unknown-linux-musl - rustup target add aarch64-unknown-linux-musl
- cargo build --target x86_64-unknown-linux-musl --bins -r - 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/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: volumes:
- name: artifacts - name: artifacts
path: /artifcats/ path: /artifcats/
@ -42,3 +43,6 @@ steps:
volumes: volumes:
- name: artifacts - name: artifacts
path: /artifcats/ path: /artifcats/
when:
event:
- tag

12
Cargo.lock generated
View File

@ -194,18 +194,18 @@ checksum = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741"
[[package]] [[package]]
name = "serde" name = "serde"
version = "1.0.189" version = "1.0.190"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8e422a44e74ad4001bdc8eede9a4570ab52f71190e9c076d14369f38b9200537" checksum = "91d3c334ca1ee894a2c6f6ad698fe8c435b76d504b13d436f0685d648d6d96f7"
dependencies = [ dependencies = [
"serde_derive", "serde_derive",
] ]
[[package]] [[package]]
name = "serde_derive" name = "serde_derive"
version = "1.0.189" version = "1.0.190"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1e48d1f918009ce3145511378cf68d613e3b3d9137d67272562080d68a2b32d5" checksum = "67c5609f394e5c2bd7fc51efda478004ea80ef42fee983d5c67a65e34f32c0e3"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
@ -225,9 +225,9 @@ dependencies = [
[[package]] [[package]]
name = "serde_yaml" name = "serde_yaml"
version = "0.9.25" version = "0.9.27"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1a49e178e4452f45cb61d0cd8cebc1b0fafd3e41929e996cef79aa3aca91f574" checksum = "3cc7a1570e38322cfe4154732e5110f887ea57e22b76f4bfd32b5bdd3368666c"
dependencies = [ dependencies = [
"indexmap", "indexmap",
"itoa", "itoa",

View File

@ -5,10 +5,6 @@ description = "Information gatherer for systems."
version = "0.1.0" version = "0.1.0"
edition = "2021" 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 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies] [dependencies]