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.

ci-build.yml 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. name: Continous build - build and test on every push
  2. on:
  3. push:
  4. branches-ignore:
  5. - release
  6. - 'releases/**'
  7. - gh-pages
  8. jobs:
  9. build:
  10. name: Build and test
  11. runs-on: ${{ matrix.os }}
  12. strategy:
  13. matrix:
  14. os: [ubuntu-latest, windows-latest]
  15. java-version: [8, 11]
  16. steps:
  17. - name: Checkout
  18. uses: actions/checkout@v1
  19. with:
  20. submodules: true
  21. - name: Setup Java ${{ matrix.java-version }}
  22. uses: actions/setup-java@v1
  23. with:
  24. java-version: ${{ matrix.java-version }}
  25. - name: Report Java version
  26. run: |
  27. java -version
  28. javac -version
  29. - name: Build with Ant
  30. run: ant test
  31. build_j7:
  32. name: Build and test on Java 7
  33. runs-on: ubuntu-latest
  34. steps:
  35. - name: Checkout
  36. uses: actions/checkout@v1
  37. with:
  38. submodules: true
  39. - name: Setup Java 7
  40. uses: actions/setup-java@v1
  41. with:
  42. java-version: 7
  43. - name: Report Java version
  44. run: |
  45. java -version
  46. javac -version
  47. - name: Setup Moxie
  48. run: |
  49. wget http://gitblit.github.io/moxie/maven/com/gitblit/moxie/moxie+ant/0.9.4/moxie+ant-0.9.4.tar.gz
  50. tar -xzf moxie+ant-0.9.4.tar.gz
  51. moxie-0.9.4/bin/moxie -version
  52. - name: Build with Moxie
  53. run: moxie-0.9.4/bin/moxie