Improve naming of hasTransferFunction.range property to make its function clear and avoid confusion with minDisplayRange and maxDisplayRange #2093
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: build | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
linux-unittests: | |
name: 'Linux' | |
strategy: | |
# we disable fail-fast, as otherwise any failed job would cancel the others. | |
fail-fast: false | |
matrix: | |
include: | |
- os: ubuntu-latest | |
java: 21 | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v3 | |
- uses: gradle/wrapper-validation-action@v3 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '${{ matrix.java }}' | |
distribution: 'temurin' | |
cache: 'gradle' | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Build scenery | |
run: ./gradlew build testClasses -x test -x dokkaHtml -x dokkaHtmlJar -x javadoc -x dokkaJavadocJar --no-daemon | |
- name: Test scenery | |
run: ./gradlew test -x dokkaHtml -x dokkaHtmlJar -x javadoc -x dokkaJavadocJar --no-daemon | |
windows-unittests: | |
name: 'Windows' | |
strategy: | |
# we disable fail-fast, as otherwise any failed job would cancel the others. | |
fail-fast: false | |
matrix: | |
include: | |
- os: windows-latest | |
java: 21 | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v3 | |
- uses: gradle/wrapper-validation-action@v3 | |
- name: configure Pagefile | |
uses: al-cheb/[email protected] | |
with: | |
minimum-size: 8GB | |
maximum-size: 32GB | |
disk-root: "D:" | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '${{ matrix.java }}' | |
distribution: 'temurin' | |
cache: 'gradle' | |
- name: Build scenery | |
run: ./gradlew build testClasses -x test -x dokkaHtml -x dokkaHtmlJar -x javadoc -x dokkaJavadocJar --no-daemon | |
- name: Test scenery | |
run: ./gradlew test -x dokkaHtml -x dokkaHtmlJar -x javadoc -x dokkaJavadocJar --no-daemon | |
mac-unittests: | |
name: 'macOS' | |
strategy: | |
# we disable fail-fast, as otherwise any failed job would cancel the others. | |
fail-fast: false | |
matrix: | |
include: | |
- os: macos-latest | |
java: 21 | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v3 | |
- uses: gradle/wrapper-validation-action@v3 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '${{ matrix.java }}' | |
distribution: 'temurin' | |
cache: 'gradle' | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Build scenery | |
run: ./gradlew build testClasses -x test -x dokkaHtml -x dokkaHtmlJar -x javadoc -x dokkaJavadocJar --no-daemon | |
- name: Test scenery | |
run: ./gradlew test -x dokkaHtml -x dokkaHtmlJar -x javadoc -x dokkaJavadocJar --no-daemon |