@@ -168,177 +168,6 @@ jobs:
168168 run : sbt ";scala3-bootstrapped-new/compile ;scala3-compiler-bootstrapped-new/test"
169169 shell : cmd
170170
171- community_build_a :
172- runs-on : [self-hosted, Linux]
173- container :
174- image : lampepfl/dotty:2024-10-18
175- options : --cpu-shares 4096
176- volumes :
177- - ${{ github.workspace }}/../../cache/sbt:/root/.sbt
178- - ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
179- - ${{ github.workspace }}/../../cache/general:/root/.cache
180- if : " github.event_name == 'schedule' && github.repository == 'scala/scala3'
181- || github.event_name == 'push'
182- || github.event_name == 'merge_group'
183- || (
184- github.event_name == 'pull_request'
185- && !contains(github.event.pull_request.body, '[skip ci]')
186- && !contains(github.event.pull_request.body, '[skip community_build]')
187- && !contains(github.event.pull_request.body, '[skip community_build_a]')
188- )
189- || (
190- github.event_name == 'workflow_dispatch'
191- && github.repository == 'scala/scala3'
192- )"
193-
194- steps :
195- # #############################################################################################
196- # # WARNING: DO NOT CHANGE THE JAVA VERSION HERE. SCALA 3.8.0+ IS DISTRIBUTED USING JAVA 17. ##
197- # #############################################################################################
198- - name : Set JDK 17 as default
199- run : echo "/usr/lib/jvm/java-17-openjdk-amd64/bin" >> $GITHUB_PATH
200- - name : Reset existing repo
201- run : |
202- git config --global --add safe.directory $GITHUB_WORKSPACE
203- git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/scala/scala3" && git reset --hard FETCH_HEAD || true
204-
205- - name : Checkout cleanup script
206- uses : actions/checkout@v5
207-
208- - name : Cleanup
209- run : .github/workflows/cleanup.sh
210-
211- - name : Git Checkout
212- uses : actions/checkout@v5
213-
214- - name : Add SBT proxy repositories
215- run : cp -vf .github/workflows/repositories /root/.sbt/ ; true
216-
217- - name : Test
218- run : |
219- git config --global --add safe.directory $GITHUB_WORKSPACE
220- git submodule sync
221- git submodule update --init --recursive --jobs 7
222- ./project/scripts/sbt "community-build/testOnly dotty.communitybuild.CommunityBuildTestA"
223-
224- - name : Show dependency tracking file
225- if : ${{ always() }}
226- run : cat community-build/dotty-community-build-deps || true
227-
228- community_build_b :
229- runs-on : [self-hosted, Linux]
230- container :
231- image : lampepfl/dotty:2024-10-18
232- options : --cpu-shares 4096
233- volumes :
234- - ${{ github.workspace }}/../../cache/sbt:/root/.sbt
235- - ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
236- - ${{ github.workspace }}/../../cache/general:/root/.cache
237- if : " github.event_name == 'schedule' && github.repository == 'scala/scala3'
238- || github.event_name == 'push'
239- || github.event_name == 'merge_group'
240- || (
241- github.event_name == 'pull_request'
242- && !contains(github.event.pull_request.body, '[skip ci]')
243- && !contains(github.event.pull_request.body, '[skip community_build]')
244- && !contains(github.event.pull_request.body, '[skip community_build_b]')
245- )
246- || (
247- github.event_name == 'workflow_dispatch'
248- && github.repository == 'scala/scala3'
249- )"
250-
251- steps :
252- # #############################################################################################
253- # # WARNING: DO NOT CHANGE THE JAVA VERSION HERE. SCALA 3.8.0+ IS DISTRIBUTED USING JAVA 17. ##
254- # #############################################################################################
255- - name : Set JDK 17 as default
256- run : echo "/usr/lib/jvm/java-17-openjdk-amd64/bin" >> $GITHUB_PATH
257- - name : Reset existing repo
258- run : |
259- git config --global --add safe.directory $GITHUB_WORKSPACE
260- git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/scala/scala3" && git reset --hard FETCH_HEAD || true
261-
262- - name : Checkout cleanup script
263- uses : actions/checkout@v5
264-
265- - name : Cleanup
266- run : .github/workflows/cleanup.sh
267-
268- - name : Git Checkout
269- uses : actions/checkout@v5
270-
271- - name : Add SBT proxy repositories
272- run : cp -vf .github/workflows/repositories /root/.sbt/ ; true
273-
274- - name : Test
275- run : |
276- git config --global --add safe.directory $GITHUB_WORKSPACE
277- git submodule sync
278- git submodule update --init --recursive --jobs 7
279- ./project/scripts/sbt "community-build/testOnly dotty.communitybuild.CommunityBuildTestB"
280-
281- - name : Show dependency tracking file
282- if : ${{ always() }}
283- run : cat community-build/dotty-community-build-deps || true
284-
285- community_build_c :
286- runs-on : [self-hosted, Linux]
287- container :
288- image : lampepfl/dotty:2024-10-18
289- options : --cpu-shares 4096
290- volumes :
291- - ${{ github.workspace }}/../../cache/sbt:/root/.sbt
292- - ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
293- - ${{ github.workspace }}/../../cache/general:/root/.cache
294- if : " github.event_name == 'schedule' && github.repository == 'scala/scala3'
295- || github.event_name == 'push'
296- || github.event_name == 'merge_group'
297- || (
298- github.event_name == 'pull_request'
299- && !contains(github.event.pull_request.body, '[skip ci]')
300- && !contains(github.event.pull_request.body, '[skip community_build]')
301- && !contains(github.event.pull_request.body, '[skip community_build_c]')
302- )
303- || (
304- github.event_name == 'workflow_dispatch'
305- && github.repository == 'scala/scala3'
306- )"
307-
308- steps :
309- # #############################################################################################
310- # # WARNING: DO NOT CHANGE THE JAVA VERSION HERE. SCALA 3.8.0+ IS DISTRIBUTED USING JAVA 17. ##
311- # #############################################################################################
312- - name : Set JDK 17 as default
313- run : echo "/usr/lib/jvm/java-17-openjdk-amd64/bin" >> $GITHUB_PATH
314- - name : Reset existing repo
315- run : |
316- git config --global --add safe.directory $GITHUB_WORKSPACE
317- git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/scala/scala3" && git reset --hard FETCH_HEAD || true
318-
319- - name : Checkout cleanup script
320- uses : actions/checkout@v5
321-
322- - name : Cleanup
323- run : .github/workflows/cleanup.sh
324-
325- - name : Git Checkout
326- uses : actions/checkout@v5
327-
328- - name : Add SBT proxy repositories
329- run : cp -vf .github/workflows/repositories /root/.sbt/ ; true
330-
331- - name : Test
332- run : |
333- git config --global --add safe.directory $GITHUB_WORKSPACE
334- git submodule sync
335- git submodule update --init --recursive --jobs 7
336- ./project/scripts/sbt "community-build/testOnly dotty.communitybuild.CommunityBuildTestC"
337-
338- - name : Show dependency tracking file
339- if : ${{ always() }}
340- run : cat community-build/dotty-community-build-deps || true
341-
342171 publish_release :
343172 permissions :
344173 contents : write # for GH CLI to create a release
@@ -350,9 +179,8 @@ jobs:
350179 - ${{ github.workspace }}/../../cache/sbt:/root/.sbt
351180 - ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
352181 - ${{ github.workspace }}/../../cache/general:/root/.cache
353- needs : [test, community_build_a, community_build_b, community_build_c, build-sdk-package, build-msi-package]
354- if : " github.event_name == 'push'
355- && startsWith(github.event.ref, 'refs/tags/')"
182+ needs : [test, build-sdk-package, build-msi-package]
183+ if : " github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/')"
356184
357185 env :
358186 RELEASEBUILD : yes
0 commit comments