File tree Expand file tree Collapse file tree 3 files changed +145
-0
lines changed Expand file tree Collapse file tree 3 files changed +145
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Bench CI
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ - 1.14.x
8+ - 1.15.x
9+ pull_request :
10+ branches : [ '*' ]
11+
12+ jobs :
13+ build :
14+
15+ runs-on : ubuntu-latest
16+
17+ steps :
18+ - uses : actions/checkout@v2
19+ - name : before cache
20+ continue-on-error : true
21+ run : |
22+ rm -fv ~/.ivy2/.sbt.ivy.lock
23+ find ~/.ivy2/cache -name 'ivydata-*.properties' -print -delete
24+ find ~/.sbt -name '*.lock' -print -delete
25+ - uses : actions/cache@v2
26+ with :
27+ path : |
28+ ~/.ivy2/cache
29+ ~/.coursier/cache/v1
30+ key : ${{ runner.os }}-sbt-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}
31+ restore-keys : |
32+ ${{ runner.os }}-sbt-
33+ - name : Set up JDK 1.8
34+ uses : actions/setup-java@v1
35+ with :
36+ java-version : 1.8
37+ - name : Build the benchmark
38+ run : sbt "+bench/jmh:run -p genSize=0 -p seedCount=0 -bs 1 -wi 0 -i 1 -f 0 -t 1 -r 0 org.scalacheck.bench.GenBench"
Original file line number Diff line number Diff line change 1+ name : Examples CI
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ - 1.14.x
8+ - 1.15.x
9+ pull_request :
10+ branches : [ '*' ]
11+
12+ jobs :
13+ build :
14+
15+ runs-on : ubuntu-latest
16+
17+ steps :
18+ - uses : actions/checkout@v2
19+ - name : before cache
20+ continue-on-error : true
21+ run : |
22+ rm -fv ~/.ivy2/.sbt.ivy.lock
23+ find ~/.ivy2/cache -name 'ivydata-*.properties' -print -delete
24+ find ~/.sbt -name '*.lock' -print -delete
25+ - uses : actions/cache@v2
26+ with :
27+ path : |
28+ ~/.ivy2/cache
29+ ~/.coursier/cache/v1
30+ key : ${{ runner.os }}-sbt-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}
31+ restore-keys : |
32+ ${{ runner.os }}-sbt-
33+ - name : Set up JDK 1.8
34+ uses : actions/setup-java@v1
35+ with :
36+ java-version : 1.8
37+ - name : Build the examples
38+ run : |
39+ cd examples
40+ for d in */ ; do cd "$d" && sbt test:compile && cd ../ ; done
Original file line number Diff line number Diff line change 1+ name : Scala native CI
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ - 1.14.x
8+ - 1.15.x
9+ pull_request :
10+ branches : [ '*' ]
11+
12+ jobs :
13+ build :
14+
15+ runs-on : ubuntu-latest
16+
17+ strategy :
18+ matrix :
19+ scala :
20+ - 2.11.12
21+ jdk :
22+ - 1.8
23+ platform :
24+ - native
25+ scalanative_version :
26+ - 0.3.9
27+ - 0.4.0-M2
28+ sbt_parallel : [true]
29+ workers :
30+ - 1
31+ deploy : [false]
32+ steps :
33+ - uses : actions/checkout@v2
34+ - name : before cache
35+ continue-on-error : true
36+ run : |
37+ rm -fv ~/.ivy2/.sbt.ivy.lock
38+ find ~/.ivy2/cache -name 'ivydata-*.properties' -print -delete
39+ find ~/.sbt -name '*.lock' -print -delete
40+ - uses : actions/cache@v2
41+ with :
42+ path : |
43+ ~/.ivy2/cache
44+ ~/.coursier/cache/v1
45+ key : ${{ runner.os }}-sbt-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}
46+ restore-keys : |
47+ ${{ runner.os }}-sbt-
48+ - name : Set up JDK ${{ matrix.jdk }}
49+ uses : actions/setup-java@v1
50+ with :
51+ java-version : ${{ matrix.jdk }}
52+ - name : Install native dependencies
53+ run : sudo apt install clang libunwind-dev libgc-dev libre2-dev
54+ - name : Build with sbt
55+ run : |
56+ ./tools/travis-script.sh
57+ ./tools/travis-deploy.sh
58+ env :
59+ TRAVIS_BRANCH : ${env:GITHUB_REF}
60+ TRAVIS_COMMIT : ${env:GITHUB_SHA}
61+ TRAVIS_JDK_VERSION : ${{ matrix.java }}
62+ TRAVIS_SCALA_VERSION : ${{ matrix.scala }}
63+ PLATFORM : ${{ matrix.platform }}
64+ SCALANATIVE_VERSION : ${{ matrix.scalanative_version }}
65+ SBT_PARALLEL : ${{ matrix.sbt_parallel }}
66+ WORKERS : ${{ matrix.workers }}
67+ DEPLOY : ${{ matrix.deploy }}
You can’t perform that action at this time.
0 commit comments