forked from java-native-access/jna
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove workflows for android (java-native-access#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
- Loading branch information
1 parent
41c7718
commit 122d099
Showing
2 changed files
with
1 addition
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected] | ||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected] | ||
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 |