From 22a2ddd3029b105fefd2056d27b71defade1a756 Mon Sep 17 00:00:00 2001 From: JMARyA Date: Mon, 21 Apr 2025 11:52:33 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20pacco?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .woodpecker/build.yml | 19 +++++++++++++------ Cargo.toml | 4 ++++ 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/.woodpecker/build.yml b/.woodpecker/build.yml index 2a581a7..2791693 100644 --- a/.woodpecker/build.yml +++ b/.woodpecker/build.yml @@ -1,16 +1,23 @@ +matrix: + platform: + - linux/amd64 + - linux/arm64 + +labels: + platform: ${platform} + when: - event: push branch: main steps: - name: "PKGBUILD" - image: git.hydrar.de/jmarya/pacco-build:latest + image: git.hydrar.de/jmarya/pacco:latest commands: - - pacman -Syu --noconfirm - - buildpkg navos x86_64 pac.hydrar.de "$TOKEN" "$KEY" + - pacco build --ci --push navos environment: - TOKEN: + PACCO_HOST: "https://pac.hydrar.de" + PACCO_TOKEN: from_secret: pacco_token - KEY: + SIGN_KEY: from_secret: sign_key - diff --git a/Cargo.toml b/Cargo.toml index 0dac135..5c31dc0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,6 +3,10 @@ name = "bk" version = "0.1.0" edition = "2024" +[[bin]] +name = "bk" +path = "src/main.rs" + [dependencies] chrono = "0.4.39" serde = { version = "1.0.217", features = ["derive"] }