diff options
Diffstat (limited to 'ext/llvm-sys.rs/.gitlab-ci.yml')
-rw-r--r-- | ext/llvm-sys.rs/.gitlab-ci.yml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/ext/llvm-sys.rs/.gitlab-ci.yml b/ext/llvm-sys.rs/.gitlab-ci.yml new file mode 100644 index 0000000..b5cb4ae --- /dev/null +++ b/ext/llvm-sys.rs/.gitlab-ci.yml @@ -0,0 +1,19 @@ +image: rust:buster + +variables: + LLVM_SYS_150_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 15 + - apt-get install libpolly-15-dev + +test: + script: + - cargo build + - cargo test + - cargo run --example nop-function + - cargo run --example jit-function + - echo "Hello, world!" | cargo run --example disassembler |