@@ -10,7 +10,7 @@ permissions:
1010 contents : read
1111
1212jobs :
13- compile -nonbootstrapped :
13+ scala-library -nonbootstrapped :
1414 runs-on : ubuntu-latest
1515 steps :
1616 - name : Git Checkout
2727 - name : Compile `scala-library-nonbootstrapped`
2828 run : ./project/scripts/sbt scala-library-nonbootstrapped/compile
2929
30- compile-bootstrapped :
30+ scala3-library-nonbootstrapped :
3131 runs-on : ubuntu-latest
32+ # #needs: [scala-library-nonbootstrapped] Add when we add support for caching here
33+ steps :
34+ - name : Git Checkout
35+ uses : actions/checkout@v4
36+
37+ - name : Set up JDK 17
38+ uses : actions/setup-java@v4
39+ with :
40+ distribution : ' temurin'
41+ java-version : 17
42+ cache : ' sbt'
43+
44+ - uses : sbt/setup-sbt@v1
45+ - name : Compile `scala3-library-nonbootstrapped`
46+ run : ./project/scripts/sbt scala3-library-nonbootstrapped/compile
47+
48+ scala-library-bootstrapped :
49+ runs-on : ubuntu-latest
50+ needs : [scala3-compiler-nonbootstrapped, scala3-sbt-bridge-nonbootstrapped, scala-library-nonbootstrapped, scala3-library-nonbootstrapped]
3251 steps :
3352 - name : Git Checkout
3453 uses : actions/checkout@v4
@@ -44,3 +63,122 @@ jobs:
4463 - name : Compile `scala-library-bootstrapped`
4564 run : ./project/scripts/sbt scala-library-bootstrapped/compile
4665
66+ scala3-library-bootstrapped :
67+ runs-on : ubuntu-latest
68+ # #needs: [scala-library-bootstrapped] Add when we add support for caching here
69+ steps :
70+ - name : Git Checkout
71+ uses : actions/checkout@v4
72+
73+ - name : Set up JDK 17
74+ uses : actions/setup-java@v4
75+ with :
76+ distribution : ' temurin'
77+ java-version : 17
78+ cache : ' sbt'
79+
80+ - uses : sbt/setup-sbt@v1
81+ - name : Compile `scala3-library-bootstrapped`
82+ run : ./project/scripts/sbt scala3-library-bootstrapped-new/compile
83+
84+ tasty-core-nonbootstrapped :
85+ runs-on : ubuntu-latest
86+ # #needs: [scala3-library-nonbootstrapped] Add when we add support for caching here
87+ steps :
88+ - name : Git Checkout
89+ uses : actions/checkout@v4
90+
91+ - name : Set up JDK 17
92+ uses : actions/setup-java@v4
93+ with :
94+ distribution : ' temurin'
95+ java-version : 17
96+ cache : ' sbt'
97+ - uses : sbt/setup-sbt@v1
98+ - name : Compile `tasty-core-nonbootstrapped`
99+ run : ./project/scripts/sbt tasty-core-nonbootstrapped/compile
100+
101+ scala3-compiler-nonbootstrapped :
102+ runs-on : ubuntu-latest
103+ # #needs: [tasty-core-nonbootstrapped, scala3-library-nonbootstrapped] Add when we add support for caching here
104+ steps :
105+ - name : Git Checkout
106+ uses : actions/checkout@v4
107+
108+ - name : Set up JDK 17
109+ uses : actions/setup-java@v4
110+ with :
111+ distribution : ' temurin'
112+ java-version : 17
113+ cache : ' sbt'
114+ - uses : sbt/setup-sbt@v1
115+ - name : Compile `scala3-compiler-nonbootstrapped`
116+ run : ./project/scripts/sbt scala3-compiler-nonbootstrapped/compile
117+
118+ scala3-sbt-bridge-nonbootstrapped :
119+ runs-on : ubuntu-latest
120+ # #needs: [scala3-compiler-nonbootstrapped] Add when we add support for caching here
121+ steps :
122+ - name : Git Checkout
123+ uses : actions/checkout@v4
124+
125+ - name : Set up JDK 17
126+ uses : actions/setup-java@v4
127+ with :
128+ distribution : ' temurin'
129+ java-version : 17
130+ cache : ' sbt'
131+ - uses : sbt/setup-sbt@v1
132+ - name : Compile `scala3-sbt-bridge-nonbootstrapped`
133+ run : ./project/scripts/sbt scala3-sbt-bridge-nonbootstrapped/compile
134+
135+ tasty-core-bootstrapped :
136+ runs-on : ubuntu-latest
137+ # #needs: [scala3-library-bootstrapped] Add when we add support for caching here
138+ steps :
139+ - name : Git Checkout
140+ uses : actions/checkout@v4
141+
142+ - name : Set up JDK 17
143+ uses : actions/setup-java@v4
144+ with :
145+ distribution : ' temurin'
146+ java-version : 17
147+ cache : ' sbt'
148+ - uses : sbt/setup-sbt@v1
149+ - name : Compile `tasty-core-bootstrapped`
150+ run : ./project/scripts/sbt tasty-core-bootstrapped-new/compile
151+
152+ scala3-compiler-bootstrapped :
153+ runs-on : ubuntu-latest
154+ # #needs: [tasty-core-bootstrapped, scala3-library-bootstrapped] Add when we add support for caching here
155+ steps :
156+ - name : Git Checkout
157+ uses : actions/checkout@v4
158+
159+ - name : Set up JDK 17
160+ uses : actions/setup-java@v4
161+ with :
162+ distribution : ' temurin'
163+ java-version : 17
164+ cache : ' sbt'
165+ - uses : sbt/setup-sbt@v1
166+ - name : Compile `scala3-compiler-bootstrapped`
167+ run : ./project/scripts/sbt scala3-compiler-bootstrapped-new/compile
168+
169+ scala3-sbt-bridge-bootstrapped :
170+ runs-on : ubuntu-latest
171+ # #needs: [scala3-compiler-bootstrapped] Add when we add support for caching here
172+ steps :
173+ - name : Git Checkout
174+ uses : actions/checkout@v4
175+
176+ - name : Set up JDK 17
177+ uses : actions/setup-java@v4
178+ with :
179+ distribution : ' temurin'
180+ java-version : 17
181+ cache : ' sbt'
182+ - uses : sbt/setup-sbt@v1
183+ - name : Compile `scala3-sbt-bridge-bootstrapped`
184+ run : ./project/scripts/sbt scala3-sbt-bridge-bootstrapped/compile
0 commit comments