Skip to content

Commit

Permalink
Add configuration for GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Godin committed Oct 14, 2023
1 parent 2bd8ce7 commit 59ee5af
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: CI
on:
- push
- pull_request
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 # v3.12.0
with:
distribution: temurin
java-version: 11
- run: sudo apt-get update && sudo apt-get install metacity
- name: Build
run: |
export DISPLAY=:99.0
Xvfb :99 &
sleep 5
metacity --sm-disable --replace 2> metacity.err &
mvn -V -B -e verify -Pe4.12 -Dtycho.executionEnvironment=JavaSE-11 -DskipUITests=false

0 comments on commit 59ee5af

Please sign in to comment.