]> git.r.bdr.sh - rbdr/blog/blobdiff - .build.yml
Add mac
[rbdr/blog] / .build.yml
index d4794e931e62eb0a131bacf846ea21c30445cc44..fdb0c3a410a1d9fcdbd77cac35ed179a99b70641 100644 (file)
@@ -1,17 +1,28 @@
 image: archlinux
 packages:
   - make
-  - rust
   - rsync
+  - coreutils
   - clang
   - lld
   - rustup
+  - aarch64-linux-gnu-gcc
+  - tar
+  - gzip
 sources:
   - git@git.sr.ht:~rbdr/blog
+environment:
+  GPG_TTY: /dev/pts/0
 secrets:
   - 89d3b676-25d6-4942-8231-38b73aa62bf6
   - 0b0d3e5e-fbdc-41d0-97ed-ee654fe797ff
 tasks:
+  - set_rust: |
+      cd blog
+      make set_rust
+  - install_builders: |
+      cargo install cargo-generate-rpm
+      cargo install cargo-deb
   - package: |
       cd blog
-      make -e profile=release package
+      make ci