-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathJenkinsfile
More file actions
45 lines (42 loc) · 1.52 KB
/
Jenkinsfile
File metadata and controls
45 lines (42 loc) · 1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
pipeline {
agent any
stages {
stage('build') {
agent {
docker { image 'fare-docker-reg.dock.studios:5000/docker-images/cpp-static-code-analysis:latest' }
}
steps {
sh 'rm -rf CMakeFiles CMakeCache.txt cmake_install.cmake'
sh 'cmake .'
sh 'make clean all'
stash includes: 'GameboyEmulator', name: 'app'
}
}
stage('System tests') {
matrix {
agent {
docker { image 'fare-docker-reg.dock.studios:5000/docker-images/screenshot-tool:latest' }
}
axes {
axis {
name 'TEST_NAME'
values '01-special', '02-interrupts', '03-op_sp,hl', '04-op_r,imm', '05-op_rp', '06-ld_r,r', '07-jr,jp,call,ret,rst', '08-misc-instrs', '09-op_r,r', '10-bit_ops', '11-op_a,-hl'
}
}
stages {
stage('Perform test') {
steps {
unstash 'app'
sh "bash ./tests/system/${TEST_NAME}.sh"
}
post {
always {
archiveArtifacts artifacts: '*.bmp,*.jpg', fingerprint: false, allowEmptyArchive: true
}
}
}
}
}
}
}
}