Reapply "Add dependency installation"

This reverts commit 5ef9cd1500.
master
Félix Desmaretz 2024-10-08 23:34:43 +02:00
parent 5ef9cd1500
commit 2536dceb4d
1 changed files with 9 additions and 0 deletions

9
Jenkinsfile vendored
View File

@ -1,6 +1,15 @@
pipeline { pipeline {
agent any agent any
stages { stages {
stage('Install Dependencies') {
when {
branch 'master'
}
steps {
echo 'Installing Dependencies'
sh '''cargo install --git https://github.com/typst/typst --locked typst-cli'''
}
}
stage('Build') { stage('Build') {
when { when {
branch 'master' branch 'master'