File tree Expand file tree Collapse file tree 3 files changed +51
-32
lines changed Expand file tree Collapse file tree 3 files changed +51
-32
lines changed Original file line number Diff line number Diff line change
1
+ name : Windows CI
2
+
3
+ on :
4
+ push :
5
+ branches : [ main ]
6
+ pull_request :
7
+ branches : [ main ]
8
+
9
+ env :
10
+ SBT_OPTS : ' -Xmx6g -Xms1g -Xss4m'
11
+
12
+ jobs :
13
+ build :
14
+ strategy :
15
+ matrix :
16
+ java : [ '8' ]
17
+
18
+ # Use the latest supported version. We will be less affected by ambient changes
19
+ # due to the lack of pinning than by breakages because of changing version support.
20
+ runs-on : windows-latest
21
+
22
+ steps :
23
+ - name : Set up git to use LF
24
+ run : |
25
+ git config --global core.autocrlf false
26
+ git config --global core.eol lf
27
+ - uses : actions/checkout@v3
28
+ - name : Set up JDK ${{ matrix.java }}
29
+ uses : coursier/setup-action@v1
30
+ with :
31
+ jvm : temurin:1.${{ matrix.java }}
32
+ apps : sbt
33
+ - uses : actions/setup-node@v4
34
+ with :
35
+ node-version : ' 24.x'
36
+ cache : ' npm'
37
+ - name : npm install
38
+ run : npm install
39
+
40
+ # Very far from testing everything, but at least it is a good sanity check
41
+ - name : Test suite
42
+ run : sbt testSuite2_12/test
43
+ - name : Linker test suite
44
+ run : sbt linker2_12/test
45
+ # partest is slow; only execute one test as a smoke test
46
+ - name : partest smoke test
47
+ run : sbt "partestSuite2_12/testOnly -- --fastOpt run/option-fold.scala"
48
+ # Module splitting has some logic for case-insensitive filesystems, which we must test on Windows
49
+ - name : Test suite with module splitting
50
+ run : sbt 'set testSuite.v2_12/scalaJSLinkerConfig ~= (_.withModuleKind(ModuleKind.ESModule).withModuleSplitStyle(ModuleSplitStyle.SmallModulesFor(List("org.scalajs.testsuite"))))' testSuite2_12/test
51
+ shell : bash # for the special characters in the command
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -205,15 +205,6 @@ object MyScalaJSPlugin extends AutoPlugin {
205
205
}
206
206
}
207
207
},
208
-
209
- /* The AppVeyor CI build definition is very sensitive to weird characthers
210
- * in its command lines, so we cannot directly spell out the correct
211
- * incantation. Instead, we define this alias.
212
- */
213
- addCommandAlias(
214
- " setSmallESModulesForAppVeyorCI" ,
215
- " set testSuite.v2_12 / scalaJSLinkerConfig ~= (_.withModuleKind(ModuleKind.ESModule).withModuleSplitStyle(ModuleSplitStyle.SmallModulesFor(List(\" org.scalajs.testsuite\" ))))"
216
- ),
217
208
)
218
209
219
210
override def projectSettings : Seq [Setting [_]] = Def .settings(
You can’t perform that action at this time.
0 commit comments