File tree 5 files changed +29
-2
lines changed
5 files changed +29
-2
lines changed Original file line number Diff line number Diff line change @@ -149,6 +149,18 @@ jobs:
149
149
run : sbt ";scala3-bootstrapped/compile"
150
150
shell : cmd
151
151
152
+ - name : build binary
153
+ run : sbt "dist/pack" & bash -version
154
+ shell : cmd
155
+
156
+ - name : cygwin tests
157
+ run : ' "C:\Program Files\cygwin64\bin\bash" ./project/scripts/winCmdTests'
158
+ shell : cmd
159
+
160
+ - name : msys tests
161
+ run : ' "C:\Program Files\Git\bin\bash" ./project/scripts/winCmdTests'
162
+ shell : cmd
163
+
152
164
- name : Scala.js Test
153
165
run : sbt ";sjsJUnitTests/test ;sjsCompilerTests/test"
154
166
shell : cmd
Original file line number Diff line number Diff line change 7
7
# save terminal settings
8
8
saved_stty=$( stty -g 2> /dev/null)
9
9
# clear on error so we don't later try to restore them
10
- if [[ ! $? ]]; then
10
+ if [[ ! $? ]]; then
11
11
saved_stty=" "
12
12
fi
13
13
135
135
find_lib () {
136
136
local lib=$( find $PROG_HOME /lib/ -name " $1 " )
137
137
if [ -n " $CYGPATHCMD " ]; then
138
- $CYGPATHCMD -am $lib
138
+ " $CYGPATHCMD " -am $lib
139
139
elif [[ $mingw || $msys ]]; then
140
140
echo $lib | sed ' s|/|\\\\|g'
141
141
else
Original file line number Diff line number Diff line change @@ -64,3 +64,6 @@ echo "testing i11644"
64
64
cwd=$( pwd)
65
65
clear_out " $OUT "
66
66
(cd " $OUT " && " $cwd /bin/scalac" " $cwd /tests/pos/i11644.scala" && " $cwd /bin/scalac" " $cwd /tests/pos/i11644.scala" )
67
+
68
+ # check options specified in files
69
+ ./bin/scalac @project/scripts/options " $SOURCE "
Original file line number Diff line number Diff line change
1
+ -Xprint:frontend -Ylog:frontend
2
+ -Ycheck:all
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ set -e
4
+ PREFIX=" dist/target/pack"
5
+ SOURCE=" tests/pos/HelloWorld.scala"
6
+ $PREFIX /bin/scalac @project/scripts/options " $SOURCE "
7
+ $PREFIX /bin/scalac -d out " $SOURCE "
8
+ $PREFIX /bin/scala -classpath out HelloWorld
9
+ $PREFIX /bin/scala -classpath out -J-Xmx512m HelloWorld
10
+ mkdir -p _site && $PREFIX /bin/scaladoc -d _site -project Hello " $SOURCE "
You can’t perform that action at this time.
0 commit comments