forge-srpm-macros/ci.yml.in
Maxwell G 0c0e3a10e9
All checks were successful
builds.sr.ht/43 Job completed
builds.sr.ht/9 Job completed
builds.sr.ht/main Job completed
ci: fix EPEL builds (take 2)
2026-04-24 08:43:02 -05:00

26 lines
638 B
YAML

---
# Copyright (C) 2023 Maxwell G <maxwell@gtmx.me>
# SPDX-License-Identifier: GPL-1.0-or-later
# NOTICE: This file is generated from ci.yml.in. Do not edit!
image: @@IMAGE@@
packages:
- gawk
- python3-pytest
- python3-pyyaml
- redhat-rpm-config
- rpm
sources:
- https://forge.fedoraproject.org/packaging/forge-srpm-macros
tasks:
- pytest: |
cd forge-srpm-macros
if [ "$(rpm -E %{?rhel})" = "9" ]; then
sudo dnf install -y epel-rpm-macros
make epel-build
export \
MACRO_DIR="$(pwd)/epel/rpm/macros.d" \
MACRO_LUA_DIR="$(pwd)/epel/rpm/lua"
fi
pytest -vv