From 2e21956de3f974b96d2c4f29764dd91433fa0c38 Mon Sep 17 00:00:00 2001 From: Luke Anderson Date: Wed, 9 Jan 2019 19:44:37 +1100 Subject: [PATCH] Added Dockerfile and Jenkinsfile. --- Dockerfile | 4 ++++ Jenkinsfile | 10 ++++++++++ 2 files changed, 14 insertions(+) create mode 100644 Dockerfile create mode 100644 Jenkinsfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 000000000..891bfaeb7 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,4 @@ +FROM rust:latest + +RUN apt-get update && apt-get install -y clang libclang-dev + diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 000000000..1bb877a3d --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,10 @@ +pipeline { + agent { dockerfile true } + stages { + stage('build') { + steps { + sh 'cargo build' + } + } + } +}