spcd/.forgejo/workflows/main.yaml
2024-08-30 02:31:50 +02:00

124 lines
2.7 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
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
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
ubuntu:
needs: opensuse
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
almalinux:
needs: ubuntu
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
fedora:
needs: almalinux
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
rockylinux:
needs: fedora
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
debian:
needs: rockylinux
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