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

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