From c84bc14122a0bcb7bc799c4eb772d3e07b9a0c59 Mon Sep 17 00:00:00 2001 From: leo60228 Date: Thu, 7 Sep 2023 18:40:59 -0400 Subject: [PATCH] Android CI --- .github/workflows/android.yml | 36 +++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/android.yml diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml new file mode 100644 index 00000000..28788ce4 --- /dev/null +++ b/.github/workflows/android.yml @@ -0,0 +1,36 @@ +name: CI (Android) + +# Trigger this workflow on push or pull request +on: [push, pull_request] + +env: + SRC_DIR_PATH: VVVVVV/desktop_version/VVVVVV-android + +jobs: + build: + name: Build (Android) + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + with: + submodules: true + path: 'VVVVVV' + + - uses: actions/setup-java@v3 + with: + distribution: 'temurin' + java-version: '17' + cache: 'gradle' + + - uses: actions/checkout@v4 + with: + repository: libsdl-org/SDL + ref: release-2.28.x + path: 'SDL' + + - name: Build + run: | + cd ${SRC_DIR_PATH} + ./gradlew build