spcd/.forgejo/workflows/main.yaml

229 lines
4.7 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-08-26 18:36:07 +00:00
archlinux_latest:
2024-08-26 18:23:56 +00:00
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
2024-08-26 18:26:05 +00:00
2024-08-26 18:36:07 +00:00
archlinux_previous:
2024-08-26 18:41:48 +00:00
needs: archlinux_latest
2024-08-26 18:23:56 +00:00
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
2024-08-26 18:26:05 +00:00
2024-08-26 18:36:07 +00:00
alpine_latest:
2024-08-26 18:41:48 +00:00
needs: archlinux_previous
2024-08-26 18:23:56 +00:00
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
2024-08-26 18:26:05 +00:00
2024-08-26 18:36:07 +00:00
fedora_latest:
2024-08-26 18:41:48 +00:00
needs: alpine_latest
2024-08-26 18:23:56 +00:00
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
2024-08-26 18:26:05 +00:00
2024-08-26 18:36:07 +00:00
debian_latest:
2024-08-26 18:41:48 +00:00
needs: fedora_latest
2024-08-26 18:23:56 +00:00
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
2024-08-26 18:26:05 +00:00
2024-08-26 18:36:07 +00:00
opensuse_latest:
2024-08-26 18:41:48 +00:00
needs: debian_latest
2024-08-26 18:23:56 +00:00
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
2024-08-26 18:26:05 +00:00
2024-08-26 18:36:07 +00:00
ubuntu_latest:
2024-08-26 18:41:48 +00:00
needs: opensuse_latest
2024-08-26 18:23:56 +00:00
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
2024-08-26 18:26:05 +00:00
2024-08-26 18:36:07 +00:00
almalinux_latest:
2024-08-26 18:41:48 +00:00
needs: ubuntu_latest
2024-08-26 18:23:56 +00:00
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
2024-08-26 18:26:05 +00:00
2024-08-26 18:36:07 +00:00
rockylinux_latest:
2024-08-26 18:41:48 +00:00
needs: almalinux_latest
2024-08-26 18:23:56 +00:00
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
2024-08-26 18:26:05 +00:00
2024-08-26 18:36:07 +00:00
alpine_previous:
2024-08-26 18:41:48 +00:00
needs: rockylinux_latest
2024-08-26 18:23:56 +00:00
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
2024-08-26 18:26:05 +00:00
2024-08-26 18:36:07 +00:00
fedora_previous:
2024-08-26 18:41:48 +00:00
needs: alpine_previous
2024-08-26 18:23:56 +00:00
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
2024-08-26 18:26:05 +00:00
2024-08-26 18:36:07 +00:00
opensuse_previous:
2024-08-26 18:41:48 +00:00
needs: fedora_previous
2024-08-26 18:23:56 +00:00
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
2024-08-26 18:26:05 +00:00
2024-08-26 18:36:07 +00:00
almalinux_previous:
2024-08-26 18:41:48 +00:00
needs: opensuse_previous
2024-08-26 18:23:56 +00:00
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
2024-08-26 18:26:05 +00:00
2024-08-26 18:36:07 +00:00
rockylinux_previous:
2024-08-26 18:41:48 +00:00
needs: almalinux_previous
2024-08-26 18:23:56 +00:00
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
2024-08-26 18:26:05 +00:00
2024-08-26 18:36:07 +00:00
ubuntu_previous:
2024-08-26 18:41:48 +00:00
needs: rockylinux_previous
2024-08-26 18:23:56 +00:00
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
2024-08-26 18:26:05 +00:00
2024-08-26 18:36:07 +00:00
debian_previous:
2024-08-26 18:41:48 +00:00
needs: ubuntu_previous
2024-08-26 18:23:56 +00:00
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