|
1 | 1 | pipeline {
|
2 | 2 | agent none
|
3 | 3 | stages {
|
4 |
| - stage ("Worker build") { |
5 |
| - agent { node { label 'focal-fw' } } |
6 |
| - options { |
7 |
| - timeout(time: 1, unit: 'HOURS') |
8 |
| - } |
9 |
| - |
10 |
| - stages { |
11 |
| - stage ('Checkout') { |
12 |
| - steps { |
13 |
| - checkout scm |
| 4 | + stage ('Build') { |
| 5 | + parallel { |
| 6 | + stage ('CH/QEMU Tests') { |
| 7 | + agent { node { label 'focal-fw' } } |
| 8 | + options { |
| 9 | + timeout(time: 1, unit: 'HOURS') |
14 | 10 | }
|
15 |
| - } |
16 |
| - stage ('Install system packages') { |
17 |
| - steps { |
18 |
| - sh "sudo apt-get -y install build-essential mtools qemu-system-x86 libssl-dev pkg-config m4 bison flex zlib1g-dev" |
| 11 | + stages { |
| 12 | + stage ('Checkout') { |
| 13 | + steps { |
| 14 | + checkout scm |
| 15 | + } |
| 16 | + } |
| 17 | + stage ('Install system packages') { |
| 18 | + steps { |
| 19 | + sh "sudo apt-get -y install build-essential mtools qemu-system-x86 libssl-dev pkg-config" |
| 20 | + } |
| 21 | + } |
| 22 | + stage ('Install Rust') { |
| 23 | + steps { |
| 24 | + sh "nohup curl https://sh.rustup.rs -sSf | sh -s -- -y" |
| 25 | + } |
| 26 | + } |
| 27 | + stage('Run integration tests') { |
| 28 | + steps { |
| 29 | + sh "./run_integration_tests.sh" |
| 30 | + } |
| 31 | + } |
19 | 32 | }
|
20 | 33 | }
|
21 |
| - stage ('Install Rust') { |
22 |
| - steps { |
23 |
| - sh "nohup curl https://sh.rustup.rs -sSf | sh -s -- -y" |
| 34 | + stage ('coreboot QEMU Tests') { |
| 35 | + agent { node { label 'focal-fw' } } |
| 36 | + options { |
| 37 | + timeout(time: 1, unit: 'HOURS') |
24 | 38 | }
|
25 |
| - } |
26 |
| - stage ('Run integration tests') { |
27 |
| - steps { |
28 |
| - sh "./run_integration_tests.sh" |
29 |
| - } |
30 |
| - } |
31 |
| - stage ('Run coreboot integration tests') { |
32 |
| - steps { |
33 |
| - sh "./run_coreboot_integration_tests.sh" |
| 39 | + stages { |
| 40 | + stage ('Checkout') { |
| 41 | + steps { |
| 42 | + checkout scm |
| 43 | + } |
| 44 | + } |
| 45 | + stage ('Install system packages') { |
| 46 | + steps { |
| 47 | + sh "sudo apt-get -y install build-essential mtools qemu-system-x86 libssl-dev pkg-config m4 bison flex zlib1g-dev" |
| 48 | + } |
| 49 | + } |
| 50 | + stage ('Install Rust') { |
| 51 | + steps { |
| 52 | + sh "nohup curl https://sh.rustup.rs -sSf | sh -s -- -y" |
| 53 | + } |
| 54 | + } |
| 55 | + stage('Run integration tests') { |
| 56 | + steps { |
| 57 | + sh "./run_coreboot_integration_tests.sh" |
| 58 | + } |
| 59 | + } |
34 | 60 | }
|
35 | 61 | }
|
36 | 62 | }
|
|
0 commit comments