llvm-sys 180.0.0

Bindings to LLVM's C API
Documentation
image: rust:1

variables:
  LLVM_SYS_180_FFI_WORKAROUND: "YES"

before_script:
  - apt-get update -qq && apt-get install -qq -y lsb-release software-properties-common
  - wget https://apt.llvm.org/llvm.sh
  - chmod +x llvm.sh
  # Workaround for https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1043101
  - echo >> /etc/apt/sources.list
  - ./llvm.sh 18
  - apt-get install -qq -y libpolly-18-dev libzstd-dev

test:
  script:
    - cargo build
    - cargo test
    - cargo run --example nop-function
    - cargo run --example jit-function
    - echo "Hello, world!" | cargo run --example disassembler