aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
blob: 6b9c46324bde6fe7439b50df465e911b71df4d9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
image: archlinux
packages:
  - just
  - minisign
  - rsync
  - coreutils
  - clang
  - lld
  - rustup
  - curl
  - tar
  - gzip
  - gettext
  - python-poetry
  - flatpak
  - flatpak-builder
  - gtk4
  - libadwaita
  - gtksourceview5
  - fakeroot
  - podman
sources:
  - git@git.sr.ht:~rbdr/map-linux
  - https://github.com/flatpak/flatpak-builder-tools
environment:
  GPG_TTY: /dev/pts/0
secrets:
  - a1e0e3da-c1ad-473a-ad69-8878f267a628
  - eaecf3b4-a508-4fa6-a36e-6b9ed4468eae
  - f80356df-eb81-487f-8739-fbf08bf204dc
  - 05763ec6-2f17-46b5-90f6-963482975b8b
  - e4ca0336-ca5a-4a9c-acb3-9cb645aa6cca
tasks:
  - set_rust: |
      cd map-linux
      rustup default stable
  - setup_flatpak_tools: |
      cd flatpak-builder-tools/cargo
      poetry install
  - setup_flathub: |
      flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
  - release: |
      cd map-linux
      just clean_images=1 target=x86_64-unknown-linux-gnu flatpak_cargo_generator=/home/build/flatpak-builder-tools/cargo ci