From c82def7c7f45502d8b95c7df06960bc84f8afe28 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Fri, 30 Aug 2024 06:10:20 +0200 Subject: [PATCH] workflows/main --- .forgejo/workflows/main.yaml | 76 ++++++++++++++++++------------------ 1 file changed, 38 insertions(+), 38 deletions(-) diff --git a/.forgejo/workflows/main.yaml b/.forgejo/workflows/main.yaml index 8a63cf2..f06cd54 100644 --- a/.forgejo/workflows/main.yaml +++ b/.forgejo/workflows/main.yaml @@ -1,23 +1,7 @@ on: [push] jobs: - alpine: - container: - image: ${{vars.DOCKER}}alpine:3.20 - steps: - - name: spcd - env: - SPCD: ${{vars.SPCD}} - SPCD_TXT_LANGUAGE: ${{vars.SPCD_TXT_LANGUAGE}} - run: ${{vars.SPCD}} - - - run: spcd-check-project - - run: spcd-build-project - - run: spcd-browse-workspace - arch: - needs: alpine - if: failure() || success() container: image: ${{vars.DOCKER}}archlinux:base-20240818.0.255804 steps: @@ -31,11 +15,27 @@ jobs: - run: spcd-build-project - run: spcd-browse-workspace - opensuse: + alpine: needs: arch if: failure() || success() container: - image: ${{vars.DOCKER}}opensuse/leap:15.6 + image: ${{vars.DOCKER}}alpine:3.20 + steps: + - name: spcd + env: + SPCD: ${{vars.SPCD}} + SPCD_TXT_LANGUAGE: ${{vars.SPCD_TXT_LANGUAGE}} + run: ${{vars.SPCD}} + + - run: spcd-check-project + - run: spcd-build-project + - run: spcd-browse-workspace + + fedora: + needs: alpine + if: failure() || success() + container: + image: ${{vars.DOCKER}}fedora:40 steps: - name: spcd env: @@ -48,7 +48,7 @@ jobs: - run: spcd-browse-workspace debian: - needs: opensuse + needs: fedora if: failure() || success() container: image: ${{vars.DOCKER}}debian:bookworm @@ -66,11 +66,27 @@ jobs: - run: spcd-browse-workspace - run: spcd-synchronize - fedora: + opensuse: needs: debian if: failure() || success() container: - image: ${{vars.DOCKER}}fedora:40 + image: ${{vars.DOCKER}}opensuse/leap:15.6 + steps: + - name: spcd + env: + SPCD: ${{vars.SPCD}} + SPCD_TXT_LANGUAGE: ${{vars.SPCD_TXT_LANGUAGE}} + run: ${{vars.SPCD}} + + - run: spcd-check-project + - run: spcd-build-project + - run: spcd-browse-workspace + + ubuntu: + needs: opensuse + if: failure() || success() + container: + image: ${{vars.DOCKER}}ubuntu:noble steps: - name: spcd env: @@ -83,7 +99,7 @@ jobs: - run: spcd-browse-workspace alma: - needs: fedora + needs: ubuntu if: failure() || success() container: image: ${{vars.DOCKER}}almalinux:9 @@ -113,19 +129,3 @@ jobs: - run: spcd-check-project - run: spcd-build-project - run: spcd-browse-workspace - - ubuntu: - needs: rocky - if: failure() || success() - container: - image: ${{vars.DOCKER}}ubuntu:noble - steps: - - name: spcd - env: - SPCD: ${{vars.SPCD}} - SPCD_TXT_LANGUAGE: ${{vars.SPCD_TXT_LANGUAGE}} - run: ${{vars.SPCD}} - - - run: spcd-check-project - - run: spcd-build-project - - run: spcd-browse-workspace