From 2f8fed70d33534b9455bfdd2ebff07e15f451546 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 26 Aug 2024 21:03:31 +0200 Subject: [PATCH] workflows --- .forgejo/workflows/main.yaml | 142 ++++-------------------------- .forgejo/workflows/previous.yaml | 145 ++++--------------------------- 2 files changed, 30 insertions(+), 257 deletions(-) diff --git a/.forgejo/workflows/main.yaml b/.forgejo/workflows/main.yaml index 780827a..cf63bfa 100644 --- a/.forgejo/workflows/main.yaml +++ b/.forgejo/workflows/main.yaml @@ -1,7 +1,7 @@ on: [push] jobs: - archlinux_latest: + archlinux: container: image: ${{vars.DOCKER}}archlinux:base-20240818.0.255804 steps: @@ -14,22 +14,8 @@ jobs: - run: spcd-build-project - run: spcd-browse-workspace - archlinux_previous: - needs: archlinux_latest - container: - image: ${{vars.DOCKER}}archlinux:base-20240101.0.204074 - steps: - - name: spcd - env: - SPCD: ${{vars.SPCD}} - run: ${{vars.SPCD}} - - - run: spcd-check-project - - run: spcd-build-project - - run: spcd-browse-workspace - - alpine_latest: - needs: archlinux_previous + alpine: + needs: archlinux container: image: ${{vars.DOCKER}}alpine:3.20 steps: @@ -42,8 +28,8 @@ jobs: - run: spcd-build-project - run: spcd-browse-workspace - fedora_latest: - needs: alpine_latest + fedora: + needs: alpine container: image: ${{vars.DOCKER}}fedora:40 steps: @@ -56,8 +42,8 @@ jobs: - run: spcd-build-project - run: spcd-browse-workspace - debian_latest: - needs: fedora_latest + debian: + needs: fedora container: image: ${{vars.DOCKER}}debian:bookworm steps: @@ -73,8 +59,8 @@ jobs: - run: spcd-browse-workspace - run: spcd-synchronize - opensuse_latest: - needs: debian_latest + opensuse: + needs: debian container: image: ${{vars.DOCKER}}opensuse/leap:15.6 steps: @@ -87,8 +73,8 @@ jobs: - run: spcd-build-project - run: spcd-browse-workspace - ubuntu_latest: - needs: opensuse_latest + ubuntu: + needs: opensuse container: image: ${{vars.DOCKER}}ubuntu:noble steps: @@ -101,8 +87,8 @@ jobs: - run: spcd-build-project - run: spcd-browse-workspace - almalinux_latest: - needs: ubuntu_latest + almalinux: + needs: ubuntu container: image: ${{vars.DOCKER}}almalinux:9 steps: @@ -115,8 +101,8 @@ jobs: - run: spcd-build-project - run: spcd-browse-workspace - rockylinux_latest: - needs: almalinux_latest + rockylinux: + needs: almalinux container: image: ${{vars.DOCKER}}rockylinux:9 steps: @@ -128,101 +114,3 @@ jobs: - run: spcd-check-project - run: spcd-build-project - run: spcd-browse-workspace - - alpine_previous: - needs: rockylinux_latest - container: - image: ${{vars.DOCKER}}alpine:3.19 - steps: - - name: spcd - env: - SPCD: ${{vars.SPCD}} - run: ${{vars.SPCD}} - - - run: spcd-check-project - - run: spcd-build-project - - run: spcd-browse-workspace - - fedora_previous: - needs: alpine_previous - container: - image: ${{vars.DOCKER}}fedora:39 - steps: - - name: spcd - env: - SPCD: ${{vars.SPCD}} - run: ${{vars.SPCD}} - - - run: spcd-check-project - - run: spcd-build-project - - run: spcd-browse-workspace - - opensuse_previous: - needs: fedora_previous - container: - image: ${{vars.DOCKER}}opensuse/leap:15.5 - steps: - - name: spcd - env: - SPCD: ${{vars.SPCD}} - run: ${{vars.SPCD}} - - - run: spcd-check-project - - run: spcd-build-project - - run: spcd-browse-workspace - - almalinux_previous: - needs: opensuse_previous - container: - image: ${{vars.DOCKER}}almalinux:8 - steps: - - name: spcd - env: - SPCD: ${{vars.SPCD}} - run: ${{vars.SPCD}} - - - run: spcd-check-project - - run: spcd-build-project - - run: spcd-browse-workspace - - rockylinux_previous: - needs: almalinux_previous - container: - image: ${{vars.DOCKER}}rockylinux:8 - steps: - - name: spcd - env: - SPCD: ${{vars.SPCD}} - run: ${{vars.SPCD}} - - - run: spcd-check-project - - run: spcd-build-project - - run: spcd-browse-workspace - - ubuntu_previous: - needs: rockylinux_previous - container: - image: ${{vars.DOCKER}}ubuntu:jammy - steps: - - name: spcd - env: - SPCD: ${{vars.SPCD}} - run: ${{vars.SPCD}} - - - run: spcd-check-project - - run: spcd-build-project - - run: spcd-browse-workspace - - debian_previous: - needs: ubuntu_previous - container: - image: ${{vars.DOCKER}}debian:bullseye - steps: - - name: spcd - env: - SPCD: ${{vars.SPCD}} - run: ${{vars.SPCD}} - - - run: spcd-check-project - - run: spcd-build-project - - run: spcd-browse-workspace diff --git a/.forgejo/workflows/previous.yaml b/.forgejo/workflows/previous.yaml index 780827a..92bbcb8 100644 --- a/.forgejo/workflows/previous.yaml +++ b/.forgejo/workflows/previous.yaml @@ -1,21 +1,7 @@ on: [push] jobs: - archlinux_latest: - container: - image: ${{vars.DOCKER}}archlinux:base-20240818.0.255804 - steps: - - name: spcd - env: - SPCD: ${{vars.SPCD}} - run: ${{vars.SPCD}} - - - run: spcd-check-project - - run: spcd-build-project - - run: spcd-browse-workspace - - archlinux_previous: - needs: archlinux_latest + archlinux: container: image: ${{vars.DOCKER}}archlinux:base-20240101.0.204074 steps: @@ -28,109 +14,8 @@ jobs: - run: spcd-build-project - run: spcd-browse-workspace - alpine_latest: - needs: archlinux_previous - container: - image: ${{vars.DOCKER}}alpine:3.20 - steps: - - name: spcd - env: - SPCD: ${{vars.SPCD}} - run: ${{vars.SPCD}} - - - run: spcd-check-project - - run: spcd-build-project - - run: spcd-browse-workspace - - fedora_latest: - needs: alpine_latest - container: - image: ${{vars.DOCKER}}fedora:40 - steps: - - name: spcd - env: - SPCD: ${{vars.SPCD}} - run: ${{vars.SPCD}} - - - run: spcd-check-project - - run: spcd-build-project - - run: spcd-browse-workspace - - debian_latest: - needs: fedora_latest - container: - image: ${{vars.DOCKER}}debian:bookworm - steps: - - name: spcd - env: - SPCD: ${{vars.SPCD}} - SPCD_SSH_HOSTS: ${{vars.SPCD_SSH_HOSTS}} - SPCD_SSH_KEY: ${{secrets.SPCD_SSH_KEY}} - run: ${{vars.SPCD}} - - - run: spcd-check-project - - run: spcd-build-project - - run: spcd-browse-workspace - - run: spcd-synchronize - - opensuse_latest: - needs: debian_latest - container: - image: ${{vars.DOCKER}}opensuse/leap:15.6 - steps: - - name: spcd - env: - SPCD: ${{vars.SPCD}} - run: ${{vars.SPCD}} - - - run: spcd-check-project - - run: spcd-build-project - - run: spcd-browse-workspace - - ubuntu_latest: - needs: opensuse_latest - container: - image: ${{vars.DOCKER}}ubuntu:noble - steps: - - name: spcd - env: - SPCD: ${{vars.SPCD}} - run: ${{vars.SPCD}} - - - run: spcd-check-project - - run: spcd-build-project - - run: spcd-browse-workspace - - almalinux_latest: - needs: ubuntu_latest - container: - image: ${{vars.DOCKER}}almalinux:9 - steps: - - name: spcd - env: - SPCD: ${{vars.SPCD}} - run: ${{vars.SPCD}} - - - run: spcd-check-project - - run: spcd-build-project - - run: spcd-browse-workspace - - rockylinux_latest: - needs: almalinux_latest - container: - image: ${{vars.DOCKER}}rockylinux:9 - steps: - - name: spcd - env: - SPCD: ${{vars.SPCD}} - run: ${{vars.SPCD}} - - - run: spcd-check-project - - run: spcd-build-project - - run: spcd-browse-workspace - - alpine_previous: - needs: rockylinux_latest + alpine: + needs: archlinux container: image: ${{vars.DOCKER}}alpine:3.19 steps: @@ -143,8 +28,8 @@ jobs: - run: spcd-build-project - run: spcd-browse-workspace - fedora_previous: - needs: alpine_previous + fedora: + needs: alpine container: image: ${{vars.DOCKER}}fedora:39 steps: @@ -157,8 +42,8 @@ jobs: - run: spcd-build-project - run: spcd-browse-workspace - opensuse_previous: - needs: fedora_previous + opensuse: + needs: fedora container: image: ${{vars.DOCKER}}opensuse/leap:15.5 steps: @@ -171,8 +56,8 @@ jobs: - run: spcd-build-project - run: spcd-browse-workspace - almalinux_previous: - needs: opensuse_previous + almalinux: + needs: opensuse container: image: ${{vars.DOCKER}}almalinux:8 steps: @@ -185,8 +70,8 @@ jobs: - run: spcd-build-project - run: spcd-browse-workspace - rockylinux_previous: - needs: almalinux_previous + rockylinux: + needs: almalinux container: image: ${{vars.DOCKER}}rockylinux:8 steps: @@ -199,8 +84,8 @@ jobs: - run: spcd-build-project - run: spcd-browse-workspace - ubuntu_previous: - needs: rockylinux_previous + ubuntu: + needs: rockylinux container: image: ${{vars.DOCKER}}ubuntu:jammy steps: @@ -213,8 +98,8 @@ jobs: - run: spcd-build-project - run: spcd-browse-workspace - debian_previous: - needs: ubuntu_previous + debian: + needs: ubuntu container: image: ${{vars.DOCKER}}debian:bullseye steps: