tstellar / rpms / llvm

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