77699b4333
Also replace %global compat_build 0 with %bcond_with compat_build. This will make it easier to test building the compat version of the package and allow us to add a CI test for it.
22 lines
587 B
YAML
22 lines
587 B
YAML
- hosts: localhost
|
|
roles:
|
|
- role: standard-test-basic
|
|
tags:
|
|
- classic
|
|
required_packages:
|
|
- llvm-test
|
|
- rust
|
|
- cargo
|
|
tests:
|
|
- regression-tests:
|
|
dir: ./
|
|
run: /usr/libexec/tests/llvm/run-lit-tests --threads 1
|
|
- rust-sanity:
|
|
dir: ./
|
|
run: cargo new hello && cd hello && cargo run
|
|
# This test ensures that the spec file still builds correctly with
|
|
# %global compat_build 1
|
|
# FIXME: This fails, because the CI system has a hard-coded timeout of 4
|
|
# hours.
|
|
#- build-compat
|