diff --git a/.github/workflows/Android-CI.yml b/.github/workflows/Android-CI.yml index 39647558..cd87a29d 100644 --- a/.github/workflows/Android-CI.yml +++ b/.github/workflows/Android-CI.yml @@ -3,6 +3,36 @@ name: PullRequest on: [ pull_request ] jobs: + build: + name: build + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [ macOS-13 ] + java_version: [ 17 ] + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Install JDK ${{ matrix.java_version }} + uses: actions/setup-java@v4 + with: + distribution: 'adopt' + java-version: ${{ matrix.java_version }} + - uses: gradle/actions/wrapper-validation@v3 + - name: Install Android SDK + uses: hannesa2/action-android/install-sdk@0.1.16.7 + - name: build + run: ./gradlew build + env: + VERSION: ${{ github.ref }} + - name: investigate aar + run: find . -name "*release.aar" + - name: investigate jar + run: find . -name "IOIO*.jar" + buildTest: name: Test runs-on: ${{ matrix.os }} @@ -52,6 +82,7 @@ jobs: path: | applications/**/build/outputs/connected_android_test_additional_output/debugAndroidTest/connected applications/**/build/outputs/androidTest-results/connected + Check: name: Check runs-on: ${{ matrix.os }}