Skip to content

Commit 10a2414

Browse files
committed
feat(ci): woodpecker (#35)
couldn't make forgejo actions to work, so we are going back to woodpecker. GitHub can handle the artifacts for now. Reviewed-on: https://codeberg.org/GeopJr/Turntable/pulls/35
1 parent 3a80b38 commit 10a2414

File tree

3 files changed

+20
-30
lines changed

3 files changed

+20
-30
lines changed

.forgejo/workflows/build.yaml

Lines changed: 0 additions & 14 deletions
This file was deleted.

.github/workflows/build.yml

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -17,34 +17,28 @@ jobs:
1717
conf: vala-lint.conf
1818
flatpak-builder:
1919
name: "Flatpak Builder"
20-
runs-on: ubuntu-latest
2120
needs: [ lint ]
2221
container:
23-
image: bilelmoussaoui/flatpak-github-actions:gnome-47
22+
image: ghcr.io/flathub-infra/flatpak-github-actions:gnome-48
2423
options: --privileged
2524
strategy:
2625
matrix:
27-
arch: [x86_64, aarch64]
26+
variant:
27+
- arch: x86_64
28+
runner: ubuntu-latest
29+
- arch: aarch64
30+
runner: ubuntu-24.04-arm
2831
# Don't fail the whole workflow if one architecture fails
2932
fail-fast: false
33+
runs-on: ${{ matrix.variant.runner }}
3034
steps:
3135
- uses: actions/checkout@v4
32-
# Docker is required by the docker/setup-qemu-action which enables emulation
33-
- name: Install deps
34-
if: matrix.arch == 'aarch64'
35-
run: dnf -y install docker
36-
- name: Set up QEMU
37-
if: matrix.arch == 'aarch64'
38-
id: qemu
39-
uses: docker/setup-qemu-action@v2
40-
with:
41-
platforms: arm64
4236
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6
4337
with:
44-
bundle: "dev.geopjr.Turntable.flatpak"
38+
bundle: "dev.geopjr.Turntable.Devel.flatpak"
4539
run-tests: true
46-
manifest-path: "build-aux/dev.geopjr.Turntable.json"
40+
manifest-path: "build-aux/dev.geopjr.Turntable.Devel.json"
4741
cache-key: flatpak-builder-${{ github.sha }}
48-
arch: ${{ matrix.arch }}
42+
arch: ${{ matrix.variant.arch }}
4943
repository-name: flathub
5044
repository-url: https://dl.flathub.org/repo/flathub.flatpakrepo

.woodpecker.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
steps:
2+
lint:
3+
image: valalang/lint:latest
4+
commands:
5+
- io.elementary.vala-lint -c vala-lint.conf || exit 1
6+
7+
lint:
8+
image: debian:testing
9+
commands:
10+
- make build test

0 commit comments

Comments
 (0)