Skip to content

Use GitHub Actions to execute tests on macOS and Windows in addition to Linux #48

Use GitHub Actions to execute tests on macOS and Windows in addition to Linux

Use GitHub Actions to execute tests on macOS and Windows in addition to Linux #48

Workflow file for this run

name: CI
on:
- push
- pull_request
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu, windows, macos]
runs-on: ${{ matrix.os }}-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # v3.13.0
with:
distribution: temurin
java-version: 11
- name: Build
shell: bash
run: |
if [[ "$RUNNER_OS" == "Linux" ]]; then
export DISPLAY=:99.0
Xvfb $DISPLAY &
fi
mvn -V -B -e verify -Pe4.12 -Dtycho.executionEnvironment=JavaSE-11 -DskipUITests=false