spcd/.forgejo/workflows/main.yaml

117 lines
2.3 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 19:43:11 +00:00
alpine:
2024-08-26 18:23:56 +00:00
container:
2024-08-26 19:43:11 +00:00
image: ${{vars.DOCKER}}alpine:3.20
2024-08-26 18:23:56 +00:00
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 19:43:11 +00:00
archlinux:
needs: alpine
2024-08-26 18:23:56 +00:00
container:
2024-08-26 19:43:11 +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}}
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 21:20:31 +00:00
opensuse:
2024-08-26 19:43:11 +00:00
needs: archlinux
2024-08-26 18:23:56 +00:00
container:
2024-08-26 21:20:31 +00:00
image: ${{vars.DOCKER}}opensuse/leap:15.6
2024-08-26 18:23:56 +00:00
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 23:10:52 +00:00
ubuntu:
2024-08-26 21:20:31 +00:00
needs: opensuse
2024-08-26 18:23:56 +00:00
container:
2024-08-26 23:10:52 +00:00
image: ${{vars.DOCKER}}ubuntu:noble
2024-08-26 18:23:56 +00:00
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 23:10:52 +00:00
almalinux:
needs: ubuntu
2024-08-26 18:23:56 +00:00
container:
2024-08-26 23:10:52 +00:00
image: ${{vars.DOCKER}}almalinux:9
2024-08-26 18:23:56 +00:00
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 23:10:52 +00:00
fedora:
needs: almalinux
2024-08-26 18:23:56 +00:00
container:
2024-08-26 23:10:52 +00:00
image: ${{vars.DOCKER}}fedora:40
2024-08-26 18:23:56 +00:00
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 20:28:41 +00:00
rockylinux:
2024-08-26 23:10:52 +00:00
needs: fedora
2024-08-26 18:23:56 +00:00
container:
2024-08-26 20:28:41 +00:00
image: ${{vars.DOCKER}}rockylinux:9
2024-08-26 18:23:56 +00:00
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 20:28:41 +00:00
debian:
needs: rockylinux
2024-08-26 18:23:56 +00:00
container:
2024-08-26 20:28:41 +00:00
image: ${{vars.DOCKER}}debian:bookworm
2024-08-26 18:23:56 +00:00
steps:
- name: spcd
env:
SPCD: ${{vars.SPCD}}
2024-08-26 20:28:41 +00:00
SPCD_SSH_HOSTS: ${{vars.SPCD_SSH_HOSTS}}
SPCD_SSH_KEY: ${{secrets.SPCD_SSH_KEY}}
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 20:28:41 +00:00
- run: spcd-synchronize