2018-03-19 16:26:08 +00:00
|
|
|
- hosts: localhost
|
|
|
|
roles:
|
|
|
|
- role: standard-test-basic
|
|
|
|
tags:
|
|
|
|
- classic
|
|
|
|
required_packages:
|
2019-07-11 15:19:10 +00:00
|
|
|
- rust
|
|
|
|
- cargo
|
2020-04-30 19:25:26 +00:00
|
|
|
- binutils
|
2021-05-03 14:12:03 +00:00
|
|
|
# the requirements below are for the integration suite
|
|
|
|
- cmake
|
|
|
|
- llvm-devel
|
|
|
|
- clang
|
|
|
|
- clang-analyzer
|
|
|
|
- clang-tools-extra
|
|
|
|
- compiler-rt
|
|
|
|
- ninja-build
|
|
|
|
- libcxx-devel
|
|
|
|
- libomp-devel
|
|
|
|
- python-lit
|
|
|
|
- lld
|
|
|
|
- lldb
|
|
|
|
- git
|
|
|
|
- make
|
2021-06-24 12:09:35 +00:00
|
|
|
- libstdc++-static
|
|
|
|
- clang-devel
|
2018-03-19 16:26:08 +00:00
|
|
|
tests:
|
2019-07-11 15:19:10 +00:00
|
|
|
- rust-sanity:
|
|
|
|
dir: ./
|
|
|
|
run: cargo new hello && cd hello && cargo run
|
2020-01-21 14:22:18 +00:00
|
|
|
# There is a bug in the build process when it runs out of disk space
|
|
|
|
# while stripping binaries, which causes the strip to fail, but does
|
|
|
|
# not fail the build. This results in a libLLVM.so that is over 2GB
|
|
|
|
# which breaks the nightly compose. So this test checks that libLLVM.so
|
|
|
|
# is less than 100MB to ensure it was successfully stripped.
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1793250
|
|
|
|
- libllvm-size:
|
2020-04-07 09:28:56 +00:00
|
|
|
dir: ./
|
|
|
|
run: test `stat -L -c %s /usr/lib64/libLLVM.so` -lt 100000000
|
2019-07-30 02:43:32 +00:00
|
|
|
# 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
|
2021-04-05 21:54:55 +00:00
|
|
|
- binutils-plugin-ar
|
2021-05-01 19:03:45 +00:00
|
|
|
# make sure llvm-config symlink is properly setup
|
|
|
|
- llvm-config:
|
|
|
|
dir: ./
|
|
|
|
run: llvm-config --version
|
2021-05-03 14:12:03 +00:00
|
|
|
- integration-test-suite
|