diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 98bd117da00..a3be4214222 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -482,16 +482,16 @@ jobs: #name: [diablo, hellfire] include: - name: diablo - cmakeargs: '' artifact: 'diablo-nightly-android.apk' - name: hellfire - cmakeargs: '-DHELLFIRE=ON' + cmakearg0: '-DHELLFIRE=ON' artifact: 'hellfire-nightly-android.apk' - name: diablo-adrp - cmakeargs: '-D USE_PATCH=ON' + cmakearg0: '-DUSE_PATCH=ON' artifact: 'diablo-nightly-androidp.apk' - name: hellfire-adrp - cmakeargs: '-D USE_PATCH=ON -DHELLFIRE=ON' + cmakearg0: '-DUSE_PATCH=ON' + cmakearg1: '-DHELLFIRE=ON' artifact: 'hellfire-nightly-androidp.apk' runs-on: ubuntu-latest steps: @@ -525,7 +525,7 @@ jobs: - name: Build working-directory: ${{github.workspace}} shell: bash - run: cd android-project && ./gradlew assembleRelease -Pcmakeargs="${{ matrix.cmakeargs }}" + run: cd android-project && ./gradlew assembleRelease -Pcmakearg0="${{ matrix.cmakearg0 }}" -Pcmakearg1="${{ matrix.cmakearg1 }}" -Pcmakearg2="${{ matrix.cmakearg2 }}" - name: Upload-Package uses: actions/upload-artifact@v3 diff --git a/android-project/app/build.gradle b/android-project/app/build.gradle index 161008d03ee..915c87488d4 100644 --- a/android-project/app/build.gradle +++ b/android-project/app/build.gradle @@ -26,7 +26,7 @@ android { versionName "1.0.0" externalNativeBuild { cmake { - arguments "-DANDROID_STL=c++_static", project.findProperty("cmakeargs") + arguments "-DANDROID_STL=c++_static", project.findProperty("cmakearg0"), project.findProperty("cmakearg1"), project.findProperty("cmakearg2") abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64' } }