From 267776561ea2da8c637cd2d5eaed189c3692b608 Mon Sep 17 00:00:00 2001 From: Rubén Beltrán del Río Date: Sun, 18 Jan 2026 12:37:07 +0100 Subject: Use podman to build all instead --- .builds/x86_64_arch.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to '.builds/x86_64_arch.yml') 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 -- cgit