spcd/.forgejo/workflows/main.yaml
2024-08-30 04:51:58 +02:00

131 lines
3 KiB
YAML

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
archlinux:
needs: alpine
if: failure() || success()
container:
image: ${{vars.DOCKER}}archlinux:base-20240818.0.255804
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
opensuse:
needs: archlinux
if: failure() || success()
container:
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
debian:
needs: opensuse
if: failure() || success()
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}}
SPCD_TXT_LANGUAGE: ${{vars.SPCD_TXT_LANGUAGE}}
run: ${{vars.SPCD}}
- run: spcd-check-project
- run: spcd-build-project
- run: spcd-browse-workspace
- run: spcd-synchronize
fedora:
needs: debian
if: failure() || success()
container:
image: ${{vars.DOCKER}}fedora:40
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
almalinux:
needs: fedora
if: failure() || success()
container:
image: ${{vars.DOCKER}}almalinux:9
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
rockylinux:
needs: almalinux
if: failure() || success()
container:
image: ${{vars.DOCKER}}rockylinux:9
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: rockylinux
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