all-build.yml 626 B

123456789101112131415161718192021222324252627
  1. name: All Build
  2. on: [ push, pull_request ]
  3. jobs:
  4. build:
  5. runs-on: ubuntu-latest
  6. steps:
  7. - uses: actions/checkout@v2
  8. - name: Set up JDK 1.8
  9. uses: actions/setup-java@v1
  10. with:
  11. java-version: 1.8
  12. - name: chmod +x gradlew
  13. run: chmod +x gradlew
  14. - name: git submodule init
  15. run: git submodule init
  16. - name: git submodule update --remote
  17. run: git submodule update --remote
  18. - name: Init gradle project
  19. run: ./gradlew clean
  20. - name: Build all
  21. run: ./gradlew assemble
  22. - name: All Tests
  23. run: ./gradlew check