From: Ruben Beltran del Rio Date: Mon, 11 Mar 2024 22:22:17 +0000 (+0100) Subject: Set rust X-Git-Tag: 7.0.0~36 X-Git-Url: https://git.r.bdr.sh/rbdr/blog/commitdiff_plain/5c7a9258a11d387f33209e07ca7d3271ba8e2a06?ds=sidebyside Set rust --- diff --git a/.build.yml b/.build.yml index e1af0ce..7716c57 100644 --- a/.build.yml +++ b/.build.yml @@ -11,6 +11,9 @@ secrets: - 89d3b676-25d6-4942-8231-38b73aa62bf6 - 0b0d3e5e-fbdc-41d0-97ed-ee654fe797ff tasks: + - set_rust: | + cd blog + make set_rust - package: | cd blog make -e profile=release package diff --git a/Makefile b/Makefile index 1be8bee..8f2acec 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,9 @@ architectures := x86_64-unknown-linux-gnu aarch64-unknown-linux-gnu default: build +set_rust: + rustup default stable + prepare: rustup target add $(target) @@ -17,4 +20,4 @@ rpm: build package: $(architectures) -.PHONY: default build $(architectures) rpm package prepare +.PHONY: default build $(architectures) rpm package prepare set_rust