Skip to content

Sample ray grid traversal #2078

Sample ray grid traversal

Sample ray grid traversal #2078

Workflow file for this run

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