diff --git a/Jenkinsfile b/Jenkinsfile index 98312b9..d396c4a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -24,19 +24,6 @@ pipeline { } stages { - /* first of all we have to update our libraries */ - stage ('libraries::update') { - when { - expression { params.target != "" && params.target != 'none' } - } - - steps { - sh 'git reset --hard origin/master; git submodule update --init --remote --recursive --force' - sh 'git submodule update --merge' - sh './attach_modules.sh' - } - } - /* build all amd64 stuff */ stage ('build::x64') { agent { @@ -46,7 +33,16 @@ pipeline { expression { params.target == "x64_debug" || params.target == "x64_release" || params.target == "x64_stable" } } - stages { + stages { + /* first of all we have to update our libraries */ + stage ('libraries::update') { + steps { + sh 'git reset --hard origin/master; git submodule update --init --remote --recursive --force' + sh 'git submodule update --merge' + sh './attach_modules.sh' + } + } + stage ('build::x64::libraries') { when { expression { params.build_libraries } @@ -167,6 +163,15 @@ pipeline { } stages { + /* first of all we have to update our libraries */ + stage ('libraries::update') { + steps { + sh 'git reset --hard origin/master; git submodule update --init --remote --recursive --force' + sh 'git submodule update --merge' + sh './attach_modules.sh' + } + } + stage ('build::x86::libraries') { when { expression { params.build_libraries }