Update auxlib, clib, javalib, nativelib, ... to 0.5.6 #428
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: | |
branches: [ '**' ] | |
push: | |
branches: [ '**' ] | |
tags: [ v* ] | |
jobs: | |
ci: | |
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository | |
runs-on: ubuntu-20.04 | |
env: | |
JAVA_OPTS: "-Xmx3500M -Dsbt.task.timings=true" | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 11 | |
- name: Cache sbt | |
uses: actions/cache@v2 | |
with: | |
path: | | |
~/.sbt | |
~/.ivy2/cache | |
~/.coursier | |
key: sbt-cache-${{ runner.os }}-${{ hashFiles('project/build.properties') }} | |
- name: Compile | |
run: | |
sbt -v compile | |
- name: Test | |
run: | |
sbt -v test | |
- name: Cleanup | |
run: | | |
rm -rf "$HOME/.ivy2/local" || true | |
find $HOME/.ivy2/cache -name "ivydata-*.properties" -delete || true | |
find $HOME/.ivy2/cache -name "*-LM-SNAPSHOT*" -delete || true | |
find $HOME/.cache/coursier/v1 -name "ivydata-*.properties" -delete || true | |
find $HOME/.sbt -name "*.lock" -delete || true | |
mima: | |
# run on external PRs, but not on internal PRs since those will be run by push to branch | |
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository | |
runs-on: ubuntu-20.04 | |
env: | |
JAVA_OPTS: "-Xmx3500M" | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 # checkout tags so that dynver works properly (we need the version for MiMa) | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 11 | |
- name: Cache sbt | |
uses: actions/cache@v2 | |
with: | |
path: | | |
~/.sbt | |
~/.ivy2/cache | |
~/.coursier | |
key: sbt-cache-${{ runner.os }}-JVM-${{ hashFiles('project/build.properties') }} | |
- name: Check MiMa # disable for major releases | |
run: sbt -v mimaReportBinaryIssues | |
- name: Cleanup | |
run: | | |
rm -rf "$HOME/.ivy2/local" || true | |
find $HOME/.ivy2/cache -name "ivydata-*.properties" -delete || true | |
find $HOME/.ivy2/cache -name "*-LM-SNAPSHOT*" -delete || true | |
find $HOME/.cache/coursier/v1 -name "ivydata-*.properties" -delete || true | |
find $HOME/.sbt -name "*.lock" -delete || true |