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

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