aboutsummaryrefslogtreecommitdiff
path: root/.builds
diff options
context:
space:
mode:
authorRubén Beltrán del Río <jj@r.bdr.sh>2026-01-18 16:35:31 +0100
committerRubén Beltrán del Río <jj@r.bdr.sh>2026-01-18 16:49:45 +0100
commite22e1210b117c95f3aa7f877b3217c623f7bcfa9 (patch)
treef049ccb55e0a7825cf562e72480fe0326214041b /.builds
parent6572d6cb8ceb83a9de85d30bf834adb51ef348d6 (diff)
Simplify CI command
Diffstat (limited to '.builds')
-rw-r--r--.builds/x86_64_arch.yml50
1 files changed, 0 insertions, 50 deletions
diff --git a/.builds/x86_64_arch.yml b/.builds/x86_64_arch.yml
deleted file mode 100644
index 3b90e37..0000000
--- a/.builds/x86_64_arch.yml
+++ /dev/null
@@ -1,50 +0,0 @@
-image: archlinux
-packages:
- - make
- - 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
-tasks:
- - set_rust: |
- cd map-linux
- make set_rust
- - install_binstall: |
- curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
- - 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
- 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