@@ -4,13 +4,15 @@ matrix:
4
4
SBT_RUN :
5
5
- sbt "benchmarks/compile" \
6
6
" jsonConfig/test" \
7
- " sbtBloop/scripted" \
8
7
" frontend/integrationSetUpBloop" \
9
- " benchmarks/jmh:run .*HotBloopBenchmark.* -wi 0 -i 1 -f1 -t1 -p project=with-tests -p projectName=with-tests" \
10
8
" backend/test" \
11
9
" frontend/test" \
12
10
" docs/makeSite"
13
11
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
+
14
16
SBT_PUBLISH :
15
17
- sbt "set pgpPublicRing in Global := file(\"/drone/.gnupg/pubring.asc\")" \
16
18
" set pgpSecretRing in Global := file(\" /drone/.gnupg/secring.asc\" )" \
@@ -23,6 +25,9 @@ matrix:
23
25
OS :
24
26
- windows
25
27
- linux
28
+ OPS :
29
+ - basic
30
+ - extra
26
31
27
32
clone :
28
33
git :
@@ -62,20 +67,36 @@ pipeline:
62
67
ref : [ refs/heads/master, refs/tags/*, refs/pull/*/head ]
63
68
matrix :
64
69
OS : linux
70
+ OPS : basic
65
71
commands :
66
72
- export DRONE_DIR="/drone"
67
73
- git log | head -n 20
68
74
- ./bin/add-coursier.sh
69
75
- . bin/detect-community-build.sh # We need to source it for the env variable to be exported
70
76
- ${SBT_RUN}; ./bin/ci-clean-cache.sh
71
77
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
+
72
92
build_windows :
73
93
group : build
74
94
image : scalacenter/scala-docs:1.0
75
95
when :
76
96
ref : [ refs/heads/master, refs/tags/*, refs/pull/*/head ]
77
97
matrix :
78
98
OS : windows
99
+ OPS : basic
79
100
secrets : [ bloop_jenkins_token ]
80
101
commands :
81
102
- ./bin/stream-jenkins-log.sh "bloop:$BLOOP_JENKINS_TOKEN"
@@ -91,6 +112,7 @@ pipeline:
91
112
status : success
92
113
matrix :
93
114
OS : linux
115
+ OPS : basic
94
116
commands :
95
117
- git log | head -n 20
96
118
# I have no idea why this has to be done manually... TODO: inspect why.
@@ -112,6 +134,7 @@ pipeline:
112
134
status : success
113
135
matrix :
114
136
OS : linux
137
+ OPS : basic
115
138
commands :
116
139
- export DRONE_DIR="/drone"
117
140
- ./bin/add-coursier.sh
@@ -124,6 +147,7 @@ pipeline:
124
147
ref : [ refs/heads/master, refs/tags/*, refs/pull/*/head ]
125
148
matrix :
126
149
OS : linux
150
+ OPS : basic
127
151
secrets : [ sftp_cache_username, sftp_cache_private_key, sftp_cache_server, sftp_cache_path ]
128
152
rebuild : true
129
153
mount :
0 commit comments