Merge branch 'master' of https://gitea.moustos.net/dionmoustos/PokemonEmeraldSafariFrontier
Some checks failed
CI / build (push) Has been cancelled
Some checks failed
CI / build (push) Has been cancelled
This commit is contained in:
47
Jenkinsfile
vendored
Normal file
47
Jenkinsfile
vendored
Normal file
@@ -0,0 +1,47 @@
|
||||
pipeline {
|
||||
agent any
|
||||
|
||||
|
||||
agent {
|
||||
docker {
|
||||
image 'ubuntu:22.04'
|
||||
args '-u root'
|
||||
}
|
||||
}
|
||||
|
||||
stages {
|
||||
stage('Install Dependencies') {
|
||||
steps {
|
||||
sh '''
|
||||
apt update
|
||||
apt install -y build-essential binutils-arm-none-eabi git libpng-dev cmake
|
||||
'''
|
||||
}
|
||||
}
|
||||
|
||||
stage('Checkout') {
|
||||
steps {
|
||||
checkout scm
|
||||
}
|
||||
}
|
||||
|
||||
stage('Configure') {
|
||||
steps {
|
||||
sh '''
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake ..
|
||||
'''
|
||||
}
|
||||
}
|
||||
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh '''
|
||||
cd build
|
||||
make -j$(nproc)
|
||||
'''
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user