Skip to content

Commit 732f7e2

Browse files
Merge pull request #5834 from dotty-staging/community-build
Fix #5809: Run the community-build on every PR
2 parents 8726cf7 + 5967bff commit 732f7e2

29 files changed

+275
-47
lines changed

.drone.yml

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,23 +23,31 @@ pipeline:
2323
# We run tests in parallel. Tests run in a copy of the working directory to avoid conflict
2424
test:
2525
group: test
26-
image: lampepfl/dotty:2018-12-12
26+
image: lampepfl/dotty:2019-02-06
2727
commands:
2828
- cp -R . /tmp/1/ && cd /tmp/1/
2929
- ./project/scripts/sbt ";compile ;test"
3030
- ./project/scripts/cmdTests
3131

3232
test_bootstrapped:
3333
group: test
34-
image: lampepfl/dotty:2018-12-12
34+
image: lampepfl/dotty:2019-02-06
3535
commands:
3636
- cp -R . /tmp/2/ && cd /tmp/2/
3737
- ./project/scripts/sbt ";dotty-bootstrapped/compile ;dotty-bootstrapped/test ;sjsSandbox/run"
3838
- ./project/scripts/bootstrapCmdTests
3939

40+
community_build:
41+
group: test
42+
image: lampepfl/dotty:2019-02-06
43+
commands:
44+
- cp -R . /tmp/3/ && cd /tmp/3/
45+
- export PATH=/tmp/4/project/scripts:$PATH
46+
- sbt community-build/test
47+
4048
test_sbt:
4149
group: test
42-
image: lampepfl/dotty:2018-12-12
50+
image: lampepfl/dotty:2019-02-06
4351
commands:
4452
- cp -R . /tmp/4/ && cd /tmp/4/
4553
- ./project/scripts/sbt sbt-dotty/scripted
@@ -49,7 +57,7 @@ pipeline:
4957

5058
# DOCUMENTATION:
5159
documentation:
52-
image: lampepfl/dotty:2018-12-12
60+
image: lampepfl/dotty:2019-02-06
5361
commands:
5462
- ./project/scripts/genDocs
5563
secrets: [ bot_token ]
@@ -61,7 +69,7 @@ pipeline:
6169
# PUBLISHING:
6270
# Publishing expect NIGHTLYBUILD or RELEASEBUILD to be set. See dottyVersion in Build.scala
6371
publish_nightly:
64-
image: lampepfl/dotty:2018-12-12
72+
image: lampepfl/dotty:2019-02-06
6573
environment:
6674
- NIGHTLYBUILD=yes
6775
commands:
@@ -72,7 +80,7 @@ pipeline:
7280
environment: nightly
7381

7482
publish_release:
75-
image: lampepfl/dotty:2018-12-12
83+
image: lampepfl/dotty:2019-02-06
7684
environment:
7785
- RELEASEBUILD=yes
7886
commands:
@@ -96,7 +104,7 @@ pipeline:
96104
event: tag
97105

98106
publish_sbt_release:
99-
image: lampepfl/dotty:2018-12-12
107+
image: lampepfl/dotty:2019-02-06
100108
environment:
101109
- RELEASEBUILD=yes
102110
commands:

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,5 @@ bench/compile.txt
7979

8080
# The vscode app for testing
8181
vscode-dotty/.vscode-test
82+
dotty-bootstrapped.version
83+
sbt-dotty.sbt

.gitmodules

Lines changed: 39 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,42 @@
66
path = scala2-library
77
url = https://github.com/lampepfl/scala.git
88
branch = dotty-library2.12
9-
[submodule "collection-strawman"]
10-
path = collection-strawman
11-
url = https://github.com/dotty-staging/collection-strawman.git
12-
branch = dotty
9+
[submodule "community-build/community-projects/algebra"]
10+
path = community-build/community-projects/algebra
11+
url = https://github.com/dotty-staging/algebra
12+
[submodule "community-build/community-projects/betterfiles"]
13+
path = community-build/community-projects/betterfiles
14+
url = https://github.com/dotty-staging/better-files
15+
[submodule "community-build/community-projects/scalacheck"]
16+
path = community-build/community-projects/scalacheck
17+
url = https://github.com/dotty-staging/scalacheck
18+
[submodule "community-build/community-projects/ScalaPB"]
19+
path = community-build/community-projects/ScalaPB
20+
url = https://github.com/dotty-staging/ScalaPB
21+
[submodule "community-build/community-projects/scalatest"]
22+
path = community-build/community-projects/scalatest
23+
url = https://github.com/dotty-staging/scalatest
24+
[submodule "community-build/community-projects/scopt"]
25+
path = community-build/community-projects/scopt
26+
url = https://github.com/dotty-staging/scopt
27+
[submodule "community-build/community-projects/squants"]
28+
path = community-build/community-projects/squants
29+
url = https://github.com/dotty-staging/squants
30+
[submodule "community-build/community-projects/scalap"]
31+
path = community-build/community-projects/scalap
32+
url = https://github.com/dotty-staging/scala
33+
[submodule "community-build/community-projects/minitest"]
34+
path = community-build/community-projects/minitest
35+
url = https://github.com/dotty-staging/minitest
36+
[submodule "community-build/community-projects/fastparse"]
37+
path = community-build/community-projects/fastparse
38+
url = https://github.com/dotty-staging/fastparse
39+
[submodule "community-build/community-projects/stdLib213"]
40+
path = community-build/community-projects/stdLib213
41+
url = https://github.com/dotty-staging/scala
42+
[submodule "community-build/community-projects/pdbp"]
43+
path = community-build/community-projects/pdbp
44+
url = https://github.com/dotty-staging/pdbp
45+
[submodule "community-build/community-projects/sourcecode"]
46+
path = community-build/community-projects/sourcecode
47+
url = https://github.com/dotty-staging/sourcecode

.vscode-template/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"**/*.class": true,
1010
"**/*.hasTasty": true,
1111
"**/target/": true,
12+
"community-build/community-projects": true,
1213
"scala2-library/{doc,docs,lib,META-INF,scripts,spec,test,tools}/": true, // only allow scala-backend/src
1314
"scala2-library/src/[abcefimprs]*": true, // only allow scala-backend/src/library
1415
"scala-backend/{doc,docs,lib,META-INF,scripts,spec,test,tools}/": true, // only allow scala-backend/src

bench/scripts/collection-strawman-cold.sh

Lines changed: 0 additions & 2 deletions
This file was deleted.

bench/scripts/collection-strawman.sh

Lines changed: 0 additions & 2 deletions
This file was deleted.

build.sbt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ val `scala-reflect` = Build.`scala-reflect`
1919
val scalap = Build.scalap
2020
val dist = Build.dist
2121
val `dist-bootstrapped` = Build.`dist-bootstrapped`
22+
val `community-build` = Build.`community-build`
2223

2324
val sjsSandbox = Build.sjsSandbox
2425

collection-strawman

Lines changed: 0 additions & 1 deletion
This file was deleted.
Submodule ScalaPB added at 7b2d8ac
Submodule algebra added at 812caf0

0 commit comments

Comments
 (0)