diff options
| author | Rubén Beltrán del Río <jj@r.bdr.sh> | 2026-01-18 12:37:07 +0100 |
|---|---|---|
| committer | Rubén Beltrán del Río <jj@r.bdr.sh> | 2026-01-18 12:37:07 +0100 |
| commit | 267776561ea2da8c637cd2d5eaed189c3692b608 (patch) | |
| tree | cdab6be20502c785129193d97fe5c6b1472e4277 /.builds/x86_64_arch.yml | |
| parent | 87f291bd746a910655535204c9c9123e64a36fee (diff) | |
Use podman to build all instead
Diffstat (limited to '.builds/x86_64_arch.yml')
| -rw-r--r-- | .builds/x86_64_arch.yml | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/.builds/x86_64_arch.yml b/.builds/x86_64_arch.yml index 3dad0f4..3b90e37 100644 --- a/.builds/x86_64_arch.yml +++ b/.builds/x86_64_arch.yml @@ -18,6 +18,7 @@ packages: - libadwaita - gtksourceview5 - fakeroot + - podman sources: - git@git.sr.ht:~rbdr/map-linux - https://github.com/flatpak/flatpak-builder-tools @@ -39,9 +40,11 @@ tasks: poetry install - setup_flathub: | flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo - - release_arch: | + - release: | cd map-linux - make -e target=x86_64-unknown-linux-gnu -e flatpak_cargo_generator=/home/build/flatpak-builder-tools/cargo ci-arch - - release_generic: | - cd map-linux - make -e target=x86_64-unknown-linux-gnu -e flatpak_cargo_generator=/home/build/flatpak-builder-tools/cargo ci-generic + if [ "$GIT_REF" = "refs/heads/main" ]; then + make -e target=x86_64-unknown-linux-gnu -e channel=unstable -e flatpak_cargo_generator=/home/build/flatpak-builder-tools/cargo release + elif echo "$GIT_REF" | grep -q "refs/tags/"; then + channel=$(echo "$GIT_REF" | sed 's|refs/tags/||') + make -e target=x86_64-unknown-linux-gnu -e channel=$channel -e flatpak_cargo_generator=/home/build/flatpak-builder-tools/cargo release + fi |