Skip to content

Commit

Permalink
♻️
Browse files Browse the repository at this point in the history
  • Loading branch information
Hizoul committed May 20, 2019
1 parent 1d16497 commit 6163325
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,22 +1,6 @@
pipeline {
agent none
stages {
stage('Windows Build') {
agent {
docker { image 'tomaka/rust-mingw-docker' }
}
steps {
sh 'rustup default stable-x86_64-pc-windows-gnu'
sh 'rustup target add x86_64-pc-windows-gnu'
sh 'rustup component add cargo'
sh 'rustup default stable-i686-pc-windows-gnu'
sh 'rustup target add i686-pc-windows-gnu'
sh 'rustup component add cargo'
sh 'sh scripts/build_windows.sh'
archiveArtifacts artifacts: 'target/x86_64-pc-windows-gnu/release/yals.exe', fingerprint: true
archiveArtifacts artifacts: 'target/i686-pc-windows-gnu/release/yals.exe', fingerprint: true
}
}
stage('Linux Build') {
agent {
docker { image 'ekidd/rust-musl-builder' }
Expand All @@ -30,5 +14,21 @@ pipeline {
archiveArtifacts artifacts: 'target/i686-unknown-linux-musl/release/yals', fingerprint: true
}
}
// stage('Windows Build') {
// agent {
// docker { image 'tomaka/rust-mingw-docker' }
// }
// steps {
// sh 'rustup default stable-x86_64-pc-windows-gnu'
// sh 'rustup target add x86_64-pc-windows-gnu'
// sh 'rustup component add cargo'
// sh 'rustup default stable-i686-pc-windows-gnu'
// sh 'rustup target add i686-pc-windows-gnu'
// sh 'rustup component add cargo'
// sh 'sh scripts/build_windows.sh'
// archiveArtifacts artifacts: 'target/x86_64-pc-windows-gnu/release/yals.exe', fingerprint: true
// archiveArtifacts artifacts: 'target/i686-pc-windows-gnu/release/yals.exe', fingerprint: true
// }
// }
}
}

0 comments on commit 6163325

Please sign in to comment.