diff options
author | Bilal Alsharifi <599206+bilal-alsharifi@users.noreply.github.com> | 2020-01-14 14:42:44 -0500 |
---|---|---|
committer | Joel Fischer <joeljfischer@gmail.com> | 2020-01-14 14:42:44 -0500 |
commit | 3567addb8ec6aefcad31f2e4ae43f99b9336e59c (patch) | |
tree | 9eb42e65bc57f1f6cf1a1adef9c476ca65aeea67 /.github | |
parent | e047f1571d5911e9967913c311ee997f8ffeced5 (diff) | |
download | sdl_android-3567addb8ec6aefcad31f2e4ae43f99b9336e59c.tar.gz |
Use GitHub Actions (#1233)
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/android.yml | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml new file mode 100644 index 000000000..99e4a5029 --- /dev/null +++ b/.github/workflows/android.yml @@ -0,0 +1,41 @@ +name: GitHub CI + +on: [push] + +jobs: + test: + runs-on: macOS-latest + steps: + + - name: Checkout + uses: actions/checkout@v1 + + - name: Setup JDK + uses: actions/setup-java@v1 + with: + java-version: 1.8 + + - name: Sdl Android Tests + # For more info, please check out: https://github.com/marketplace/actions/android-emulator-runner + uses: reactivecircus/android-emulator-runner@v1 + with: + api-level: 29 + script: ./android/gradlew -p ./android :sdl_android:connectedCheck + + - name: Hello Sdl Android Tests + run: ./android/gradlew -p ./android :hello_sdl_android:build + + - name: Sdl JavaSE Tests + run: ./javaSE/gradlew -p ./javaSE test + + - name: Hello Sdl JavaSE Tests + run: ./hello_sdl_java/gradlew -p ./hello_sdl_java test + + - name: Sdl JavaEE Tests + run: ./javaEE/gradlew -p ./javaEE test + + - name: Codecov + uses: codecov/codecov-action@v1.0.4 + with: + token: ${{secrets.CODECOV_TOKEN}} + yml: ./codecov.yml |