Skip to content

fix tests

fix tests #106

Workflow file for this run

name: Main pipeline
on: [push]
jobs:
build:
strategy:
matrix:
java: [8, 11, 17, 21]
os:
- os: ubuntu-latest
compiler_install_command: sudo apt install g++ cmake
cc: gcc
cxx: g++
- os: macos-latest
compiler_install_command: brew install cmake
cc: clang
cxx: clang++
- os: windows-latest
compiler_install_command: choco install cmake
prebuild_script: "C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Auxiliary/Build/vcvars64.bat"
cc: cl
cxx: cl
runs-on: ${{ matrix.os.os }}
name: Run full test suite on JDK ${{ matrix.java }} on ${{ matrix.os.os }}
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: temurin
- name: Install C++ dependencies
run: ${{ matrix.os.compiler_install_command }}
- name: Build with Gradle
run: |
${{ matrix.os.prebuild_script }}
./gradlew build
env:
CC: ${{ matrix.os.cc }}
CXX: ${{ matrix.os.cxx }}