workflows/alt

This commit is contained in:
Marc Beninca 2024-08-30 06:06:50 +02:00
parent 8ee070fd6f
commit 25d74dd8cf
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -1,23 +1,7 @@
on: [push] on: [push]
jobs: jobs:
alpine:
container:
image: ${{vars.DOCKER}}alpine:3.19
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: arch:
needs: alpine
if: failure() || success()
container: container:
image: ${{vars.DOCKER}}archlinux:base-20240101.0.204074 image: ${{vars.DOCKER}}archlinux:base-20240101.0.204074
steps: steps:
@ -31,59 +15,11 @@ jobs:
- run: spcd-build-project - run: spcd-build-project
- run: spcd-browse-workspace - run: spcd-browse-workspace
opensuse: alpine:
needs: arch needs: arch
if: failure() || success() if: failure() || success()
container: container:
image: ${{vars.DOCKER}}opensuse/leap:15.5 image: ${{vars.DOCKER}}alpine:3.19
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
debian:
needs: opensuse
if: failure() || success()
container:
image: ${{vars.DOCKER}}debian:bullseye
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: debian
if: failure() || success()
container:
image: ${{vars.DOCKER}}ubuntu:jammy
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
alma:
needs: ubuntu
if: failure() || success()
container:
image: ${{vars.DOCKER}}almalinux:8
steps: steps:
- name: spcd - name: spcd
env: env:
@ -96,7 +32,7 @@ jobs:
- run: spcd-browse-workspace - run: spcd-browse-workspace
fedora: fedora:
needs: alma needs: alpine
if: failure() || success() if: failure() || success()
container: container:
image: ${{vars.DOCKER}}fedora:39 image: ${{vars.DOCKER}}fedora:39
@ -111,9 +47,41 @@ jobs:
- run: spcd-build-project - run: spcd-build-project
- run: spcd-browse-workspace - run: spcd-browse-workspace
rocky: opensuse:
needs: fedora needs: fedora
if: failure() || success() if: failure() || success()
container:
image: ${{vars.DOCKER}}opensuse/leap:15.5
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
alma:
needs: opensuse
if: failure() || success()
container:
image: ${{vars.DOCKER}}almalinux:8
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
rocky:
needs: alma
if: failure() || success()
container: container:
image: ${{vars.DOCKER}}rockylinux:8 image: ${{vars.DOCKER}}rockylinux:8
steps: steps:
@ -126,3 +94,35 @@ jobs:
- run: spcd-check-project - run: spcd-check-project
- run: spcd-build-project - run: spcd-build-project
- run: spcd-browse-workspace - run: spcd-browse-workspace
ubuntu:
needs: rocky
if: failure() || success()
container:
image: ${{vars.DOCKER}}ubuntu:jammy
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
debian:
needs: ubuntu
if: failure() || success()
container:
image: ${{vars.DOCKER}}debian:bullseye
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