Skip to content

Commit

Permalink
Use GitHub Actions to execute tests on macOS and Windows in addition …
Browse files Browse the repository at this point in the history
…to Linux (#39)
  • Loading branch information
Godin authored Nov 2, 2023
1 parent 1919d4b commit 170cdd2
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,22 @@ on:
- pull_request
jobs:
build:
runs-on: ubuntu-20.04
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: |
export DISPLAY=:99.0
Xvfb :99 &
sleep 5
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

0 comments on commit 170cdd2

Please sign in to comment.