You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

maven.yml 1.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # This workflow will build a Java project with Maven
  2. # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
  3. name: Build AspectJ
  4. on:
  5. push:
  6. branches: [ master ]
  7. pull_request:
  8. branches: [ master ]
  9. workflow_dispatch:
  10. jobs:
  11. build:
  12. runs-on: ubuntu-latest
  13. strategy:
  14. fail-fast: false
  15. matrix:
  16. java: [ 8, 11, 16 ]
  17. steps:
  18. - uses: actions/checkout@v2
  19. - name: Set up JDK ${{ matrix.java }}
  20. uses: actions/setup-java@v1
  21. with:
  22. java-version: ${{ matrix.java }}
  23. - name: Print tool versions
  24. run: |
  25. java -version
  26. ./mvnw -B --version
  27. ant -version
  28. - name: Compile + package code
  29. run: ./mvnw -B --file pom.xml -DskipTests package
  30. - name: Run Tests
  31. # Tests in module ajde call Swing/AWT classes. Without frame buffer they throw
  32. # HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it.
  33. uses: GabrielBB/xvfb-action@v1
  34. with:
  35. run: ./mvnw -B --file pom.xml -Daspectj.tests.verbose=false verify