Skip to content

Refactor enum handling and adjust binding type constants. #74

Refactor enum handling and adjust binding type constants.

Refactor enum handling and adjust binding type constants. #74

Workflow file for this run

name: Tests
on:
push:
branches: [ main, 'release/**', 'feature/**', 'fix/**']
pull_request:
branches: [ main, 'release/**', 'feature/**', 'fix/**']
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
tests:
strategy:
fail-fast: false
matrix:
os: [ macos-14, ubuntu-latest, windows-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: install dependencies
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt update
sudo apt install -y libglfw3-dev
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 22
cache: 'gradle'
- name: Cache Gradle packages
uses: actions/cache@v4
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle.kts') }}
restore-keys: ${{ runner.os }}-gradle
- name: Build
run: |
./gradlew fetch-native-dependencies
./gradlew assemble
./gradlew build