Skip to content

Commit

Permalink
Updating Jenkinsfile for generating windows dist
Browse files Browse the repository at this point in the history
  • Loading branch information
egusator committed Jun 20, 2024
1 parent 0bfb2ab commit d092954
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pipeline {
}
}

stage('prepare') {
stage('Prepare') {
steps {
dir ('/out') {
sh 'rm -rf snapshot && mkdir -p snapshot'
Expand All @@ -24,7 +24,7 @@ pipeline {
sh 'rm -f ../../luwrain/src/main/resources/org/luwrain/core/sound/* && cp *.wav ../../luwrain/src/main/resources/org/luwrain/core/sound/'
}
}
}
}

stage('Build') {
steps {
Expand All @@ -36,7 +36,7 @@ pipeline {
}
}

stage ('snapshot') {
stage ('Snapshot') {
steps {
dir ('base/scripts') {
sh './lwr-snapshot /out/snapshot'
Expand All @@ -46,5 +46,16 @@ pipeline {
}
}
}

stage('Generate win dist') {
steps {
dir('base/scripts') {
sh './lwr-dist-win /tmp/lwr'
}
dir('/tmp/lwr') {
sh 'docker run --rm -i -v "$(pwd):/work" amake/innosetup Luwrain.iss'
}
}
}
}
}

0 comments on commit d092954

Please sign in to comment.