spcd/.forgejo/workflows/main.yaml

132 lines
2.9 KiB
YAML
Raw Normal View History

2024-08-26 18:23:56 +00:00
on: [push]
jobs:
2024-08-26 18:26:05 +00:00
2024-10-13 18:47:09 +00:00
alpine:
2024-08-26 18:23:56 +00:00
container:
2024-10-13 18:47:09 +00:00
image: ${{vars.DOCKER}}alpine:3.20
2024-08-26 18:23:56 +00:00
steps:
- name: spcd
env:
SPCD: ${{vars.SPCD}}
2024-08-30 20:57:57 +00:00
SPCD_TXT_LOCALE: ${{vars.SPCD_TXT_LOCALE}}
2024-08-26 18:23:56 +00:00
run: ${{vars.SPCD}}
- run: spcd-check-project
- run: spcd-build-project
- run: spcd-browse-workspace
2024-08-26 18:26:05 +00:00
2024-10-13 19:09:31 +00:00
debian:
2024-10-13 18:47:09 +00:00
needs: alpine
2024-08-30 01:53:23 +00:00
if: failure() || success()
2024-08-26 18:23:56 +00:00
container:
2024-10-13 19:09:31 +00:00
image: ${{vars.DOCKER}}debian:bookworm
2024-08-26 18:23:56 +00:00
steps:
- name: spcd
env:
SPCD: ${{vars.SPCD}}
2024-10-13 19:09:31 +00:00
SPCD_SSH_HOSTS: ${{vars.SPCD_SSH_HOSTS}}
SPCD_SSH_KEY: ${{secrets.SPCD_SSH_KEY}}
2024-08-30 20:57:57 +00:00
SPCD_TXT_LOCALE: ${{vars.SPCD_TXT_LOCALE}}
2024-08-26 18:23:56 +00:00
run: ${{vars.SPCD}}
- run: spcd-check-project
- run: spcd-build-project
- run: spcd-browse-workspace
2024-10-13 19:09:31 +00:00
- run: spcd-synchronize
2024-08-26 18:26:05 +00:00
2024-10-13 19:09:31 +00:00
arch:
needs: debian
2024-08-30 01:53:23 +00:00
if: failure() || success()
2024-08-26 18:23:56 +00:00
container:
2024-10-13 19:09:31 +00:00
image: ${{vars.DOCKER}}archlinux:base-20240818.0.255804
2024-08-26 18:23:56 +00:00
steps:
- name: spcd
env:
SPCD: ${{vars.SPCD}}
2024-08-30 20:57:57 +00:00
SPCD_TXT_LOCALE: ${{vars.SPCD_TXT_LOCALE}}
2024-08-26 18:23:56 +00:00
run: ${{vars.SPCD}}
- run: spcd-check-project
- run: spcd-build-project
- run: spcd-browse-workspace
2024-08-26 18:26:05 +00:00
2024-10-13 18:55:59 +00:00
opensuse:
2024-10-13 19:09:31 +00:00
needs: arch
2024-08-30 01:53:23 +00:00
if: failure() || success()
2024-08-26 18:23:56 +00:00
container:
2024-10-13 18:55:59 +00:00
image: ${{vars.DOCKER}}opensuse/leap:15.6
2024-08-26 18:23:56 +00:00
steps:
- name: spcd
env:
SPCD: ${{vars.SPCD}}
2024-08-30 20:57:57 +00:00
SPCD_TXT_LOCALE: ${{vars.SPCD_TXT_LOCALE}}
2024-08-26 18:23:56 +00:00
run: ${{vars.SPCD}}
- run: spcd-check-project
- run: spcd-build-project
- run: spcd-browse-workspace
2024-08-26 18:26:05 +00:00
2024-10-13 18:55:59 +00:00
ubuntu:
needs: opensuse
2024-08-30 01:53:23 +00:00
if: failure() || success()
2024-08-26 18:23:56 +00:00
container:
2024-10-13 18:55:59 +00:00
image: ${{vars.DOCKER}}ubuntu:noble
2024-08-26 18:23:56 +00:00
steps:
- name: spcd
env:
SPCD: ${{vars.SPCD}}
2024-08-30 20:57:57 +00:00
SPCD_TXT_LOCALE: ${{vars.SPCD_TXT_LOCALE}}
2024-08-26 18:23:56 +00:00
run: ${{vars.SPCD}}
- run: spcd-check-project
- run: spcd-build-project
- run: spcd-browse-workspace
2024-08-26 18:26:05 +00:00
2024-10-13 18:55:59 +00:00
fedora:
needs: ubuntu
2024-08-30 01:53:23 +00:00
if: failure() || success()
2024-08-26 18:23:56 +00:00
container:
2024-10-13 18:55:59 +00:00
image: ${{vars.DOCKER}}fedora:40
2024-08-26 18:23:56 +00:00
steps:
- name: spcd
env:
SPCD: ${{vars.SPCD}}
2024-08-30 20:57:57 +00:00
SPCD_TXT_LOCALE: ${{vars.SPCD_TXT_LOCALE}}
2024-08-26 18:23:56 +00:00
run: ${{vars.SPCD}}
- run: spcd-check-project
- run: spcd-build-project
- run: spcd-browse-workspace
2024-08-26 18:26:05 +00:00
2024-08-30 04:10:20 +00:00
alma:
2024-10-13 18:55:59 +00:00
needs: fedora
2024-08-30 01:53:23 +00:00
if: failure() || success()
2024-08-26 18:23:56 +00:00
container:
2024-08-30 04:10:20 +00:00
image: ${{vars.DOCKER}}almalinux:9
2024-08-26 18:23:56 +00:00
steps:
- name: spcd
env:
SPCD: ${{vars.SPCD}}
2024-08-30 20:57:57 +00:00
SPCD_TXT_LOCALE: ${{vars.SPCD_TXT_LOCALE}}
2024-08-26 18:23:56 +00:00
run: ${{vars.SPCD}}
- run: spcd-check-project
- run: spcd-build-project
- run: spcd-browse-workspace
2024-08-26 18:26:05 +00:00
2024-08-30 04:10:20 +00:00
rocky:
needs: alma
2024-08-30 01:53:23 +00:00
if: failure() || success()
2024-08-26 18:23:56 +00:00
container:
2024-08-30 04:10:20 +00:00
image: ${{vars.DOCKER}}rockylinux:9
2024-08-26 18:23:56 +00:00
steps:
- name: spcd
env:
SPCD: ${{vars.SPCD}}
2024-08-30 20:57:57 +00:00
SPCD_TXT_LOCALE: ${{vars.SPCD_TXT_LOCALE}}
2024-08-26 18:23:56 +00:00
run: ${{vars.SPCD}}
- run: spcd-check-project
- run: spcd-build-project
- run: spcd-browse-workspace