tstellar / rpms / llvm

Forked from rpms/llvm 5 years ago
Clone
a47388f
- hosts: localhost
a47388f
  roles:
a47388f
  - role: standard-test-basic
a47388f
    tags:
a47388f
      - classic
a47388f
    required_packages:
a47388f
      - llvm-test
a0a7bdc
      - rust
a0a7bdc
      - cargo
a47388f
    tests:
4ccbf04
      - regression-tests:
a47388f
          dir: ./
4ccbf04
          run: /usr/libexec/tests/llvm/run-lit-tests --threads 1
a0a7bdc
      - rust-sanity:
a0a7bdc
          dir: ./
a0a7bdc
          run: cargo new hello && cd hello && cargo run
f61fd6e
      # There is a bug in the build process when it runs out of disk space
f61fd6e
      # while stripping binaries, which causes the strip to fail, but does
f61fd6e
      # not fail the build.  This results in a libLLVM.so that is over 2GB
f61fd6e
      # which breaks the nightly compose.  So this test checks that libLLVM.so
f61fd6e
      # is less than 100MB to ensure it was successfully stripped.
f61fd6e
      # https://bugzilla.redhat.com/show_bug.cgi?id=1793250
f61fd6e
      - libllvm-size:
f61fd6e
        dir: ./
f61fd6e
        run: test `stat -L -c %s /usr/lib64/libLLVM.so` -lt 100000000
77699b4
      # This test ensures that the spec file still builds correctly with
77699b4
      # %global compat_build 1
77699b4
      # FIXME: This fails, because the CI system has a hard-coded timeout of 4
77699b4
      # hours.
77699b4
      #- build-compat