templates: ready-to-apply CI workflows for phyllomeos, xml-definition-for-domains, rpm-sources

This commit is contained in:
2026-09-18 20:04:50 +02:00
parent 1c6d9e064c
commit cde9b21e42
3 changed files with 91 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
name: ci
on:
push:
pull_request:
# Smoke test that the source set compiles under mock without publishing.
# Host job: mock needs real chroots on the runner VM.
jobs:
mock-smoke:
runs-on: fedora
defaults:
run:
shell: bash
steps:
- uses: https://git.phyllo.me/devops/checkout@v5
with:
fetch-depth: 0
- name: Initialize mock root
run: mock -r fedora-43-x86_64 --init
- name: Install build deps
run: |
mock -r fedora-43-x86_64 --install git make gcc
- name: Smoke build
run: |
mock -r fedora-43-x86_64 --copyin . /builddir/src
mock -r fedora-43-x86_64 --shell --enable-network --isolation=simple << 'EOF'
cd /builddir/src
make || true
EOF
- name: Cleanup
if: always()
run: mock -r fedora-43-x86_64 --clean