Added Dockerfile and Jenkinsfile.

This commit is contained in:
Luke Anderson 2019-01-09 19:44:37 +11:00
parent 2c277a5ad9
commit 2e21956de3
No known key found for this signature in database
GPG Key ID: 44408169EC61E228
2 changed files with 14 additions and 0 deletions

4
Dockerfile Normal file
View File

@ -0,0 +1,4 @@
FROM rust:latest
RUN apt-get update && apt-get install -y clang libclang-dev

10
Jenkinsfile vendored Normal file
View File

@ -0,0 +1,10 @@
pipeline {
agent { dockerfile true }
stages {
stage('build') {
steps {
sh 'cargo build'
}
}
}
}