Add gating
This commit is contained in:
parent
532509588e
commit
4cf852c46b
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
||||
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}
|
||||
26
plan.fmf
Normal file
26
plan.fmf
Normal file
@ -0,0 +1,26 @@
|
||||
# based on https://gitlab.com/redhat/centos-stream/rpms/python-meson-python/-/blob/c10s/ci.fmf
|
||||
|
||||
execute:
|
||||
how: tmt
|
||||
|
||||
discover:
|
||||
- how: shell
|
||||
tests:
|
||||
- name: smoke
|
||||
test: |
|
||||
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.14 -c 'import mesonpy; x = mesonpy.Project(source_dir=".", build_dir="./build"); x.build()'
|
||||
build/foo
|
||||
popd
|
||||
rm -rf "$TMP_DIR"
|
||||
require:
|
||||
- gcc
|
||||
- python3.14-meson-python
|
||||
Loading…
Reference in New Issue
Block a user