Thanks to visit codestin.com
Credit goes to github.com

Skip to content

WiP New encoding for the Unicode database. #16

WiP New encoding for the Unicode database.

WiP New encoding for the Unicode database. #16

Workflow file for this run

name: OS-sensitive CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
SBT_OPTS: '-Xmx6g -Xms1g -Xss4m'
jobs:
build:
strategy:
matrix:
java: [ '8' ]
# Use the latest supported version. We will be less affected by ambient changes
# due to the lack of pinning than by breakages because of changing version support.
os: [ windows-latest, ubuntu-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: Set up git to use LF
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- uses: actions/checkout@v3
- name: Set up JDK ${{ matrix.java }}
uses: coursier/setup-action@v1
with:
jvm: temurin:1.${{ matrix.java }}
apps: sbt
- uses: actions/setup-node@v4
with:
node-version: '24.x'
cache: 'npm'
- name: npm install
run: npm install
# Very far from testing everything, but at least it is a good sanity check
- name: Test suite
run: sbt testSuite2_12/test
- name: Linker test suite
run: sbt linker2_12/test
# partest is slow; only execute one test as a smoke test
- name: partest smoke test
run: sbt "partestSuite2_12/testOnly -- --fastOpt run/option-fold.scala"
# Module splitting has some logic for case-insensitive filesystems, which we must test on Windows
- name: Test suite with module splitting
run: sbt 'set testSuite.v2_12/scalaJSLinkerConfig ~= (_.withModuleKind(ModuleKind.ESModule).withModuleSplitStyle(ModuleSplitStyle.SmallModulesFor(List("org.scalajs.testsuite"))))' testSuite2_12/test
shell: bash # for the special characters in the command
# #5272 On some setups, it seems Scaladoc's typechecker behaves differently
# We could reproduce the problem on GH Actions with Linux, but not on our
# general Jenkins environment, so we test it here.
- name: Scaladoc
run: sbt 'compiler2_12/doc;jUnitPlugin2_12/doc;library2_12/doc;testInterface2_12/doc;jUnitRuntime2_12/doc;testBridge2_12/doc;ir2_12/doc;linkerInterface2_12/doc;linker2_12/doc;testAdapter2_12/doc'