File tree 4 files changed +47
-60
lines changed
dependency-management/snapshot-resolution
project/src-scala-binary-version
4 files changed +47
-60
lines changed Original file line number Diff line number Diff line change 9
9
matrix :
10
10
include :
11
11
- os : ubuntu-latest
12
- java : 8
12
+ java : 11
13
13
jobtype : 1
14
14
- os : ubuntu-latest
15
15
java : 11
16
- jobtype : 1
16
+ jobtype : 2
17
+ - os : ubuntu-latest
18
+ java : 11
19
+ jobtype : 3
20
+ - os : ubuntu-latest
21
+ java : 11
22
+ jobtype : 4
23
+ - os : ubuntu-latest
24
+ java : 8
25
+ jobtype : 5
17
26
runs-on : ${{ matrix.os }}
18
27
env :
19
- JAVA_OPTS : -Xms2048M -Xmx2048M -Xss6M -XX:ReservedCodeCacheSize=256M
28
+ JAVA_OPTS : -Xms800M -Xmx800M -Xss6M -XX:ReservedCodeCacheSize=128M -server -Dsbt.io.virtual=false -Dfile.encoding=UTF-8
29
+ SCALA_212 : 2.12.12
30
+ SCALA_213 : 2.13.1
31
+ UTIL_TESTS : utilCache/test;utilControl/test;utilInterface/test;utilLogging/test;utilPosition/test;utilRelation/test;utilScripted/test;utilTracking/test
32
+ CURRENT_SNAPSHOT_VER : 1.4.3-SNAPSHOT
33
+ SBT_LOCAL : false
20
34
steps :
21
35
- name : Checkout
22
36
uses : actions/checkout@v1
32
46
path : ~/.sbt
33
47
key : ${{ runner.os }}-sbt-cache-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}
34
48
- name : Build and test
35
- run : echo hello GitHub
49
+ run : |
50
+ case ${{ matrix.jobtype }} in
51
+ 1)
52
+ sbt -v "mimaReportBinaryIssues ; javafmtCheck ; Test / javafmtCheck; scalafmtCheckAll ; scalafmtSbtCheck; serverTestProj/scalafmtCheckAll; headerCheck ;test:headerCheck ;whitesourceOnPush ;test:compile; publishLocal; test; serverTestProj/test; doc; $UTIL_TESTS; ++$SCALA_213; $UTIL_TESTS"
53
+ ;;
54
+ 2)
55
+ sbt -v "scripted actions/* apiinfo/* compiler-project/* ivy-deps-management/* reporter/* tests/* watch/* classloader-cache/* package/*"
56
+ ;;
57
+ 3)
58
+ sbt -v "dependencyTreeProj/publishLocal; scripted dependency-graph/* dependency-management/* plugins/* project-load/* java/* run/* nio/*"
59
+ ;;
60
+ 4)
61
+ sbt -v "repoOverrideTest:scripted dependency-management/*; scripted source-dependencies/* project/*"
62
+ ;;
63
+ 5)
64
+ sbt -v publishLocalBin
65
+ rm -r $(find $HOME/.sbt/boot -name "*-SNAPSHOT") || true
66
+ sbt -v -Dsbt.version=$CURRENT_SNAPSHOT_VER "++$SCALA_213; $UTIL_TESTS; ++$SCALA_212; $UTIL_TESTS; scripted actions/* source-dependencies/*1of3 dependency-management/*1of4 java/*"
67
+ ;;
68
+ *)
69
+ echo unknown jobtype
70
+ exit 1
71
+ esac
72
+ rm -rf "$HOME/.ivy2/local" || true
73
+ rm -r $(find $HOME/.sbt/boot -name "*-SNAPSHOT") || true
74
+ find $HOME/Library/Caches/Coursier/v1 -name "ivydata-*.properties" -delete || true
75
+ find $HOME/.ivy2/cache -name "ivydata-*.properties" -delete || true
76
+ find $HOME/.cache/coursier/v1 -name "ivydata-*.properties" -delete || true
77
+ find $HOME/.sbt -name "*.lock" -delete || true
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
# Validate that a bad dependency fails the compile
2
2
$ copy-file changes/BadCommon.scala common/src/main/scala/Common.scala
3
+ > common/compile
3
4
> common/publish
4
5
5
6
# Force dep resolution to be successful, then compilation to fail
File renamed without changes.
You can’t perform that action at this time.
0 commit comments