You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1.3 KiB
Plaintext

1 year ago
pipeline {
// Agente
agent {
docker {
image 'debian:12'
args '-u root'
}
}
// Fases
stages {
stage('DEDENDENCIAS') {
steps {
1 year ago
echo "Actualizar repos, upgrade de paquetes instalados."
1 year ago
sh "apt-get update && apt-get -y upgrade"
1 year ago
echo "Instalar paquetes necesarios para compilar."
sh "apt install -y g++ make git nasm libsdl2-dev libsdl2-net-dev liba52-dev libjpeg62-turbo-dev libmpeg2-4-dev libogg-dev libvorbis-dev libflac-dev libmad0-dev libpng-dev libtheora-dev libfaad-dev libfluidsynth-dev libfreetype6-dev zlib1g-dev libfribidi-dev libgif-dev libglew-dev libcurl4-openssl-dev libgtk-3-dev libspeechd-dev libsndio-dev"
}
1 year ago
}
1 year ago
stage('CLONE REPO') {
steps {
echo "Clonar repositorio Git del proyecto."
1 year ago
sh "git clone -b master --depth 1 https://github.com/scummvm/scummvm.git /tmp/scummvm"
1 year ago
}
}
1 year ago
stage('CONFIGURE') {
steps {
echo "Configure Scummvm"
sh "cd /tmp/scummvm && ./configure --enable-all-engines --disable-discord --enable-plugins --enable-profiling"
}
}
1 year ago
stage('COMPILAR') {
steps {
echo "Compilar e instalar en el sistema la nueva versión de Scummvm"
1 year ago
sh "cd /tmp/scummvm && make clean ; make -j2 ; make install"
1 year ago
}
}
1 year ago
1 year ago
}
}