Add gating configuration for C10S/RHEL10

This commit is contained in:
Frantisek Sumsal 2025-02-12 16:00:27 +01:00
parent fcfc93b604
commit 3ecc3bc663
3 changed files with 32 additions and 0 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

25
ci.fmf Normal file
View File

@ -0,0 +1,25 @@
# vi: ts=2 sw=2 et ft=yaml:
summary: Basic smoke test
prepare:
- how: install
package: gcc
execute:
how: tmt
script: |
set -eux
TMP_DIR="$(mktemp -d)"
pushd "$TMP_DIR"
meson init --name foo
cat >pyproject.toml <<EOF
[build-system]
build-backend = 'mesonpy'
requires = ['meson-python']
EOF
python3 -c 'import mesonpy; x = mesonpy.Project(source_dir=".", build_dir="./build"); x.build()'
build/foo
popd
rm -rf "$TMP_DIR"

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-*
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}