mirror of
https://github.com/zxing/zxing.git
synced 2024-11-09 20:44:03 -08:00
Remove Android CICD testing
This commit is contained in:
parent
184a08b308
commit
58d87899fd
23
.github/workflows/test_java_8.yml
vendored
Normal file
23
.github/workflows/test_java_8.yml
vendored
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
name: Test Java 8, Android
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ master ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ master ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Set up JDK 8
|
||||||
|
uses: actions/setup-java@v4
|
||||||
|
with:
|
||||||
|
java-version: '8'
|
||||||
|
distribution: 'temurin'
|
||||||
|
cache: 'maven'
|
||||||
|
- name: Build with Maven
|
||||||
|
run: mvn -nsu -B -Pjacoco install
|
52
.github/workflows/test_java_8_android.yml
vendored
52
.github/workflows/test_java_8_android.yml
vendored
|
@ -1,52 +0,0 @@
|
||||||
name: Test Java 8, Android
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [ master ]
|
|
||||||
pull_request:
|
|
||||||
branches: [ master ]
|
|
||||||
|
|
||||||
env:
|
|
||||||
ANDROID_HOME: /tmp/android-sdk-linux
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- name: Set up Android SDK
|
|
||||||
run: if [ ! -d /tmp/android-sdk-linux/platforms ]; then curl -s https://storage.googleapis.com/zxing-build/android-sdk-linux.tar.bz2 | bunzip2 | tar xf - -C /tmp; else ls -l /tmp/android-sdk-linux; fi
|
|
||||||
- name: Set up JDK 8
|
|
||||||
uses: actions/setup-java@v4
|
|
||||||
with:
|
|
||||||
java-version: '8'
|
|
||||||
distribution: 'temurin'
|
|
||||||
cache: 'maven'
|
|
||||||
- name: Build with Maven
|
|
||||||
run: mvn -nsu -B -Pjacoco install
|
|
||||||
|
|
||||||
# The Android SDK package android-sdk-linux.tar.bz2 above is built roughly like so:
|
|
||||||
#
|
|
||||||
# Download Command Line tools for Linux from https://developer.android.com/studio#downloads
|
|
||||||
#
|
|
||||||
# mkdir android-sdk-linux; cd android-sdk-linux
|
|
||||||
# mv /path/to/sdk-tools-linux-4333796.zip .
|
|
||||||
# unzip *.zip; rm *.zip
|
|
||||||
#
|
|
||||||
# # Or different, more recent versions; see sdkmanager --list
|
|
||||||
# ./tools/bin/sdkmanager "platforms;android-22" "build-tools;28.0.2"
|
|
||||||
# # Accept license
|
|
||||||
#
|
|
||||||
# ./tools/bin/sdkmanager --update
|
|
||||||
# # Accept license
|
|
||||||
#
|
|
||||||
# cp tools/source.properties ..
|
|
||||||
#
|
|
||||||
# ./tools/bin/sdkmanager --uninstall tools
|
|
||||||
#
|
|
||||||
# mkdir tools; mv ../source.properties tools
|
|
||||||
#
|
|
||||||
# cd ..
|
|
||||||
# tar cf - android-sdk-linux | bzip2 -9 > android-sdk-linux.tar.bz2
|
|
Loading…
Reference in a new issue