File tree 1 file changed +31
-0
lines changed
1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -133,6 +133,37 @@ jobs:
133
133
run : sbt ";sjsJUnitTests/test ;sjsCompilerTests/test"
134
134
shell : cmd
135
135
136
+ build_docs :
137
+ runs-on : [self-hosted, Linux]
138
+ container : lampepfl/dotty:2020-04-24
139
+
140
+ # timeout-minutes: 20 We need much more for first run
141
+
142
+ steps :
143
+ - name : Set JDK 11 as default
144
+ run : echo "/usr/lib/jvm/java-11-openjdk-amd64/bin" >> $GITHUB_PATH
145
+
146
+ - uses : actions/checkout@v2
147
+ - run : git fetch --prune --unshallow --tags
148
+
149
+ - name : Cache Coursier
150
+ uses : actions/cache@v1
151
+ with :
152
+ path : ~/.cache/coursier
153
+ key : sbt-coursier-cache
154
+
155
+ - name : Cache SBT
156
+ uses : actions/cache@v1
157
+ with :
158
+ path : ~/.sbt
159
+ key : sbt-${{ hashFiles('**/build.sbt') }}
160
+
161
+ - name : Generate documentation for the doctool
162
+ run : ./project/scripts/sbt "scala3doc/generateSelfDocumentation"
163
+
164
+ - name : Generate documentation for the example documented project
165
+ run : ./project/scripts/sbt "scala3doc-example-project/doc"
166
+
136
167
community_build :
137
168
runs-on : [self-hosted, Linux]
138
169
container : lampepfl/dotty:2020-04-24
You can’t perform that action at this time.
0 commit comments