Skip to content

Commit

Permalink
CI: Run CI integration tests in parallel
Browse files Browse the repository at this point in the history
Signed-off-by: Akira Moroo <[email protected]>
  • Loading branch information
retrage authored and rbradford committed Apr 15, 2021
1 parent 4d7d8c2 commit 98be28a
Showing 1 changed file with 52 additions and 26 deletions.
78 changes: 52 additions & 26 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,36 +1,62 @@
pipeline {
agent none
stages {
stage ("Worker build") {
agent { node { label 'focal-fw' } }
options {
timeout(time: 1, unit: 'HOURS')
}

stages {
stage ('Checkout') {
steps {
checkout scm
stage ('Build') {
parallel {
stage ('CH/QEMU Tests') {
agent { node { label 'focal-fw' } }
options {
timeout(time: 1, unit: 'HOURS')
}
}
stage ('Install system packages') {
steps {
sh "sudo apt-get -y install build-essential mtools qemu-system-x86 libssl-dev pkg-config m4 bison flex zlib1g-dev"
stages {
stage ('Checkout') {
steps {
checkout scm
}
}
stage ('Install system packages') {
steps {
sh "sudo apt-get -y install build-essential mtools qemu-system-x86 libssl-dev pkg-config"
}
}
stage ('Install Rust') {
steps {
sh "nohup curl https://sh.rustup.rs -sSf | sh -s -- -y"
}
}
stage('Run integration tests') {
steps {
sh "./run_integration_tests.sh"
}
}
}
}
stage ('Install Rust') {
steps {
sh "nohup curl https://sh.rustup.rs -sSf | sh -s -- -y"
stage ('coreboot QEMU Tests') {
agent { node { label 'focal-fw' } }
options {
timeout(time: 1, unit: 'HOURS')
}
}
stage ('Run integration tests') {
steps {
sh "./run_integration_tests.sh"
}
}
stage ('Run coreboot integration tests') {
steps {
sh "./run_coreboot_integration_tests.sh"
stages {
stage ('Checkout') {
steps {
checkout scm
}
}
stage ('Install system packages') {
steps {
sh "sudo apt-get -y install build-essential mtools qemu-system-x86 libssl-dev pkg-config m4 bison flex zlib1g-dev"
}
}
stage ('Install Rust') {
steps {
sh "nohup curl https://sh.rustup.rs -sSf | sh -s -- -y"
}
}
stage('Run integration tests') {
steps {
sh "./run_coreboot_integration_tests.sh"
}
}
}
}
}
Expand Down

0 comments on commit 98be28a

Please sign in to comment.