Skip to content

Update and simplify Github Action for regression testing. #385

Update and simplify Github Action for regression testing.

Update and simplify Github Action for regression testing. #385

Workflow file for this run

name: Regression tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
strategy:
matrix:
java: [11, 21]
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
# Global environment setup
env:
# Windows (Cygwin) fix: symlinks
CYGWIN: ${{ matrix.os == 'windows-latest' && 'winsymlinks:native' || '' }}
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: temurin
- name: Install Cygwin Dependencies (Windows only)
if: matrix.os == 'windows-latest'
uses: cygwin/cygwin-install-action@v4
with:
packages: >-
make,
mingw64-x86_64-gcc-g++,
binutils,
dos2unix,
wget,
unzip,
python
- name: make tests
working-directory: ./prism
shell: bash
run: |
[[ "$OSTYPE" == "msys" || "$OSTYPE" == "cygwin" ]] && set -o igncr
make
make unittests
make tests