Update auxlib, clib, javalib, nativelib, ... to 0.5.6 #446
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: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build: | |
name: ${{ matrix.os }} jdk-${{ matrix.java }} tests | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-22.04, windows-2019] | |
java: [8, 11] | |
exclude: | |
- os: windows-2019 | |
java: 8 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: ${{ matrix.java }} | |
# We need to set proper Pagefile limits in advance. | |
# Github actions default page file size is quite small, | |
# it's not enough to run all tests, especially when using None GC. | |
# We've observed that on Unix memory management is less strict, | |
# you can reserve more memory than it's physically possible. | |
# On Windows however you need to reserve/commit memory in advance - | |
# it does not matter whether it would be used or not, the amount of all | |
# reserved memory cannot exceed the amount of physically available storage. | |
- name: Configure Pagefile | |
if: matrix.os == 'windows-2019' | |
uses: al-cheb/configure-pagefile-action@v1.4 | |
with: | |
minimum-size: 4GB | |
maximum-size: 16GB | |
- name: Test | |
run: sbt +test | |
checks: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: 11 | |
- run: ./bin/scalafmt --check | |
- run: sbt scalafixCheckAll | |
- run: sbt coreJVM/mimaReportBinaryIssues | |
- run: sbt docs/docusaurusCreateSite |