From 3567addb8ec6aefcad31f2e4ae43f99b9336e59c Mon Sep 17 00:00:00 2001 From: Bilal Alsharifi <599206+bilal-alsharifi@users.noreply.github.com> Date: Tue, 14 Jan 2020 14:42:44 -0500 Subject: Use GitHub Actions (#1233) --- .github/workflows/android.yml | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 .github/workflows/android.yml (limited to '.github') 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 -- cgit v1.2.1