Add gating configuration for C10S/RHEL10
This commit is contained in:
parent
fcfc93b604
commit
3ecc3bc663
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
|||||||
|
1
|
25
ci.fmf
Normal file
25
ci.fmf
Normal 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
6
gating.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- rhel-*
|
||||||
|
decision_context: osci_compose_gate
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
Loading…
Reference in New Issue
Block a user