mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-30 19:28:18 +00:00
edf44e3f0d
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
551 B
YAML
22 lines
551 B
YAML
- hosts: localhost
|
|
roles:
|
|
- role: standard-test-basic
|
|
tags:
|
|
- classic
|
|
required_packages:
|
|
- llvm-test
|
|
- rust
|
|
- cargo
|
|
# The build-compat test requires mock.
|
|
- mock
|
|
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
|
|
- build-compat
|
|
|