Remove zinc-compile module #890
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
pull_request: | |
push: | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- os: ubuntu-latest | |
java: 8 | |
jobtype: 1 | |
- os: ubuntu-latest | |
java: 11 | |
jobtype: 1 | |
- os: windows-latest | |
java: 8 | |
jobtype: 2 | |
- os: ubuntu-latest | |
java: 11 | |
jobtype: 3 | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup | |
uses: olafurpg/setup-scala@v13 | |
with: | |
java-version: "adopt@1.${{ matrix.java }}" | |
- name: Coursier cache | |
uses: coursier/cache-action@v5 | |
- name: Cache sbt | |
uses: actions/cache@v1 | |
with: | |
path: ~/.sbt | |
key: ${{ runner.os }}-sbt-cache-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }} | |
- name: Build and test | |
shell: bash | |
run: | | |
case ${{ matrix.jobtype }} in | |
1) | |
bin/run-ci.sh | |
;; | |
2) | |
sbt -v -Dfile.encoding=UTF-8 -J-XX:ReservedCodeCacheSize=512M -Dsbt.supershell=never -J-Xms1024M -J-Xmx2048M -J-server "crossTestBridges" "zincRoot/test" "zincScriptedJVM2_12/test:run" | |
;; | |
3) | |
sbt -v -Dfile.encoding=UTF-8 -J-XX:ReservedCodeCacheSize=512M -J-Xms1024M -J-Xmx2048M -J-server "runBenchmarks" | |
;; | |
*) | |
echo unknown jobtype | |
exit 1 | |
esac | |
rm -rf "$HOME/.ivy2/local" | |
find $HOME/Library/Caches/Coursier/v1 -name "ivydata-*.properties" -delete || true | |
find $HOME/.ivy2/cache -name "ivydata-*.properties" -delete || true | |
find $HOME/.cache/coursier/v1 -name "ivydata-*.properties" -delete || true | |
find $HOME/.sbt -name "*.lock" -delete || true |