image: rust:bullseye
variables:
LLVM_SYS_160_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
- ./llvm.sh 16
- apt-get install libpolly-16-dev
test:
script:
- cargo build
- cargo test
- cargo run --example nop-function
- cargo run --example jit-function
- echo "Hello, world!" | cargo run --example disassembler