From 122d0993630e3f10355a843e8a016e0cb2ed6254 Mon Sep 17 00:00:00 2001 From: Norman Maurer Date: Tue, 5 Jul 2022 07:22:02 +0200 Subject: [PATCH] Remove workflows for android (#411) Motivation: Builds for android are broken for some time. We should just remove these for now as we not release for it. Modifications: Remove android workflows Result: No more failures during build --- .github/workflows/ci-build.yml | 53 +--------------------------------- .github/workflows/ci-pr.yml | 52 --------------------------------- 2 files changed, 1 insertion(+), 104 deletions(-) diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index d65ec1e02..ea4026c0f 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -157,55 +157,4 @@ jobs: name: build-windows-target path: | **/target/surefire-reports/ - **/hs_err*.log - - build-android: - runs-on: ubuntu-latest - name: android - env: - SDK_VER: "platforms;android-21" - NDK_VER: "ndk;21.4.7075529" - steps: - - uses: actions/checkout@v2 - - - name: Setup ninja-build - run: sudo apt-get install ninja-build - - - name: Setup go - uses: actions/setup-go@v2 - - - name: Install cargo-ndk - uses: actions-rs/install@v0.1 - with: - crate: cargo-ndk - - - name: Install Rust toolchain for Android architectures - run: rustup target add aarch64-linux-android armv7-linux-androideabi i686-linux-android x86_64-linux-android - - - name: Set up JDK 1.8 - uses: actions/setup-java@v1 - with: - java-version: 1.8 - - - name: Setup Android SDK - uses: android-actions/setup-android@v2 - - - name: Install Android SDK platforms - run: sdkmanager "${{ env.SDK_VER }}" - - - name: Install Android NDK - run: sdkmanager "${{ env.NDK_VER }}" - - - name: Setup environment - run: export ANDROID_NDK_HOME=${{ steps.setup-ndk.outputs.ndk-path }} - - - name: Build project - run: ./mvnw -B -ntp --file pom.xml clean package -Dandroid - - - uses: actions/upload-artifact@v2 - if: ${{ failure() }} - with: - name: target - path: | - **/target/surefire-reports/ - **/hs_err*.log + **/hs_err*.log \ No newline at end of file diff --git a/.github/workflows/ci-pr.yml b/.github/workflows/ci-pr.yml index 0a233a1a1..1655517d0 100644 --- a/.github/workflows/ci-pr.yml +++ b/.github/workflows/ci-pr.yml @@ -173,55 +173,3 @@ jobs: path: | **/target/surefire-reports/ **/hs_err*.log - - - build-pr-android: - runs-on: ubuntu-latest - name: android - env: - SDK_VER: "platforms;android-21" - NDK_VER: "ndk;21.4.7075529" - steps: - - uses: actions/checkout@v2 - - - name: Setup ninja-build - run: sudo apt-get install ninja-build - - - name: Setup go - uses: actions/setup-go@v2 - - - name: Install cargo-ndk - uses: actions-rs/install@v0.1 - with: - crate: cargo-ndk - - - name: Install Rust toolchain for Android architectures - run: rustup target add aarch64-linux-android armv7-linux-androideabi i686-linux-android x86_64-linux-android - - - name: Set up JDK 1.8 - uses: actions/setup-java@v1 - with: - java-version: 1.8 - - - name: Setup Android SDK - uses: android-actions/setup-android@v2 - - - name: Install Android SDK platforms - run: sdkmanager "${{ env.SDK_VER }}" - - - name: Install Android NDK - run: sdkmanager "${{ env.NDK_VER }}" - - - name: Setup environment - run: export ANDROID_NDK_HOME=${{ steps.setup-ndk.outputs.ndk-path }} - - - name: Build project - run: ./mvnw -B -ntp --file pom.xml clean package -Dandroid - - - uses: actions/upload-artifact@v2 - if: ${{ failure() }} - with: - name: build-pr-android-target - path: | - **/target/surefire-reports/ - **/hs_err*.log \ No newline at end of file