Skip to content

Commit 3175510

Browse files
committedMay 2, 2018
Add independent step for benchmarks and scripted
1 parent 42d0f10 commit 3175510

File tree

1 file changed

+26
-2
lines changed

1 file changed

+26
-2
lines changed
 

‎.drone.yml

+26-2
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,15 @@ matrix:
44
SBT_RUN:
55
- sbt "benchmarks/compile" \
66
"jsonConfig/test" \
7-
"sbtBloop/scripted" \
87
"frontend/integrationSetUpBloop" \
9-
"benchmarks/jmh:run .*HotBloopBenchmark.* -wi 0 -i 1 -f1 -t1 -p project=with-tests -p projectName=with-tests" \
108
"backend/test" \
119
"frontend/test" \
1210
"docs/makeSite"
1311

12+
SBT_RUN_BENCHMARKS_AND_SCRIPTED:
13+
- sbt "sbtBloop/scripted" \
14+
"benchmarks/jmh:run .*HotBloopBenchmark.* -wi 0 -i 1 -f1 -t1 -p project=with-tests -p projectName=with-tests"
15+
1416
SBT_PUBLISH:
1517
- sbt "set pgpPublicRing in Global := file(\"/drone/.gnupg/pubring.asc\")" \
1618
"set pgpSecretRing in Global := file(\"/drone/.gnupg/secring.asc\")" \
@@ -23,6 +25,9 @@ matrix:
2325
OS:
2426
- windows
2527
- linux
28+
OPS:
29+
- basic
30+
- extra
2631

2732
clone:
2833
git:
@@ -62,20 +67,36 @@ pipeline:
6267
ref: [ refs/heads/master, refs/tags/*, refs/pull/*/head ]
6368
matrix:
6469
OS: linux
70+
OPS: basic
6571
commands:
6672
- export DRONE_DIR="/drone"
6773
- git log | head -n 20
6874
- ./bin/add-coursier.sh
6975
- . bin/detect-community-build.sh # We need to source it for the env variable to be exported
7076
- ${SBT_RUN}; ./bin/ci-clean-cache.sh
7177

78+
run_benchmarks_scripted:
79+
image: scalacenter/scala-docs:1.1
80+
group: build
81+
when:
82+
ref: [ refs/heads/master, refs/tags/*, refs/pull/*/head ]
83+
matrix:
84+
OS: linux
85+
OPS: extra
86+
commands:
87+
- export DRONE_DIR="/drone"
88+
- git log | head -n 20
89+
- ./bin/add-coursier.sh
90+
- ${SBT_RUN_BENCHMARKS_AND_SCRIPTED}; ./bin/ci-clean-cache.sh
91+
7292
build_windows:
7393
group: build
7494
image: scalacenter/scala-docs:1.0
7595
when:
7696
ref: [ refs/heads/master, refs/tags/*, refs/pull/*/head ]
7797
matrix:
7898
OS: windows
99+
OPS: basic
79100
secrets: [ bloop_jenkins_token ]
80101
commands:
81102
- ./bin/stream-jenkins-log.sh "bloop:$BLOOP_JENKINS_TOKEN"
@@ -91,6 +112,7 @@ pipeline:
91112
status: success
92113
matrix:
93114
OS: linux
115+
OPS: basic
94116
commands:
95117
- git log | head -n 20
96118
# I have no idea why this has to be done manually... TODO: inspect why.
@@ -112,6 +134,7 @@ pipeline:
112134
status: success
113135
matrix:
114136
OS: linux
137+
OPS: basic
115138
commands:
116139
- export DRONE_DIR="/drone"
117140
- ./bin/add-coursier.sh
@@ -124,6 +147,7 @@ pipeline:
124147
ref: [ refs/heads/master, refs/tags/*, refs/pull/*/head ]
125148
matrix:
126149
OS: linux
150+
OPS: basic
127151
secrets: [ sftp_cache_username, sftp_cache_private_key, sftp_cache_server, sftp_cache_path ]
128152
rebuild: true
129153
mount:

0 commit comments

Comments
 (0)