image: archlinux
packages:
  - make
  - rsync
  - coreutils
  - lld
  - rustup
  - aarch64-linux-gnu-gcc
  - tar
  - gzip
sources:
  - git@git.sr.ht:~rbdr/page
secrets:
  - 89d3b676-25d6-4942-8231-38b73aa62bf6
  - 0b0d3e5e-fbdc-41d0-97ed-ee654fe797ff
tasks:
  - set_rust: |
      cd page
      make set_rust
  - install_coverage_tool: |
      cargo install cargo-tarpaulin
  - install_builders: |
      cargo install cargo-generate-rpm
      cargo install cargo-deb
  - package: |
      cd page
      make ci