Skip to content

Optimize lstripChars, rstripChars, and stripChars via specialization … #325

Optimize lstripChars, rstripChars, and stripChars via specialization …

Optimize lstripChars, rstripChars, and stripChars via specialization … #325

Workflow file for this run

name: Pull Request Validation
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
lang: ['jvm', 'js', 'native']
java: ['11', '17']
env:
# Set LANG=C to simulate least-common-denominator target deployment environments:
LANG: C
name: Sjsonnet build for ${{ matrix.lang }} on JDK ${{ matrix.java }}
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'zulu'
- name: Run mill tests for ${{ matrix.lang }}
run: ./mill _.${{ matrix.lang }}[_].test
- name: Compile with sbt
if: ${{ matrix.lang == 'jvm' }}
run: sbt compile bench/compile bench/jmh:compile
- name: Run sbt tests
if: ${{ matrix.lang == 'jvm' }}
run: sbt test