]> git.r.bdr.sh - rbdr/blog/commitdiff
Set rust
authorRuben Beltran del Rio <redacted>
Mon, 11 Mar 2024 22:22:17 +0000 (23:22 +0100)
committerRuben Beltran del Rio <redacted>
Mon, 11 Mar 2024 22:22:17 +0000 (23:22 +0100)
.build.yml
Makefile

index e1af0ce07270884c0f77239952822fadeda91324..7716c5700bbc05aba6499271ccbd7a3a5846e011 100644 (file)
@@ -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
index 1be8beea91ad8a76b20d2b511e8672adccc07064..8f2acec0eaa30e9e695711c8a9fc96841b9089ae 100644 (file)
--- 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