forked from bitcoin-wallet/bitcoin-wallet
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from Groestlcoin/upgrade-10.x
Upgrade to 10.x
- Loading branch information
Showing
143 changed files
with
3,168 additions
and
3,372 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 |
---|---|---|
|
@@ -7,40 +7,51 @@ jobs: | |
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
java: ['8', '11'] | ||
os: [ubuntu-latest, macos-latest] | ||
java: ['11'] | ||
distribution: ['temurin'] | ||
gradle: ['6.7.1'] | ||
fail-fast: false | ||
name: JAVA ${{ matrix.java }} OS ${{ matrix.os }} Gradle ${{ matrix.gradle }} | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions/checkout@v3 | ||
|
||
- run: sed -i -e "s|7.2.0|4.2.2|g" build.gradle | ||
- name: Downgrade Android plugin from 7.4.1 to 4.2.0 | ||
run: sed -i -e "s|7.4.1|4.2.0|g" build.gradle | ||
|
||
- name: Downgrade DistributionUrl from Gradle 7.5.1 to Gradle 6.7.1 | ||
run: sed -i -e "s|7.5.1|6.7.1|g" gradle/wrapper/gradle-wrapper.properties | ||
|
||
- name: Set up JDK | ||
uses: actions/setup-java@v2 | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: ${{ matrix.distribution }} | ||
java-version: ${{ matrix.java }} | ||
|
||
- name: Setup Android SDK | ||
uses: android-actions/setup-android@v2 | ||
uses: android-actions/[email protected] | ||
|
||
- name: Install build-tools 33.0.2, platformtools and platform android-33 | ||
run: sdkmanager --install "build-tools;33.0.2" "platform-tools" "platforms;android-33" | ||
|
||
- name: Fix build tools 33.0.2 issue | ||
run: | | ||
ln -s ${ANDROID_HOME}/build-tools/33.0.2/d8 ${ANDROID_HOME}/build-tools/33.0.2/dx | ||
ln -s ${ANDROID_HOME}/build-tools/33.0.2/lib/d8.jar ${ANDROID_HOME}/build-tools/33.0.2/lib/dx.jar | ||
- name: Build with Gradle | ||
run: | | ||
./gradlew wrapper --gradle-version=${{ matrix.gradle }} | ||
./gradlew wrapper --gradle-version=${{ matrix.gradle }} | ||
./gradlew clean build | ||
./gradlew clean build --stacktrace | ||
- name: Upload artifacts | ||
uses: actions/upload-artifact@v2 | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: groestlcoin-wallet-JAVA${{ matrix.java }}-${{ matrix.os }}-${{ matrix.gradle }} | ||
path: | | ||
wallet/build/outputs/apk/ | ||
- name: Download artifacts | ||
uses: actions/download-artifact@v2 | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: groestlcoin-wallet-JAVA${{ matrix.java }}-${{ matrix.os }}-${{ matrix.gradle }} |
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 |
---|---|---|
|
@@ -10,37 +10,37 @@ jobs: | |
os: [ubuntu-latest, macos-latest, windows-latest] | ||
java: ['11', '17'] | ||
distribution: ['temurin'] | ||
gradle: ['7.4.2'] | ||
gradle: ['7.5.1'] | ||
fail-fast: false | ||
name: JAVA ${{ matrix.java }} OS ${{ matrix.os }} Gradle ${{ matrix.gradle }} | ||
steps: | ||
- uses: actions/checkout@v1 | ||
|
||
- run: sed -i -e "s|7.2.0|7.2.1|g" build.gradle | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Set up JDK | ||
uses: actions/setup-java@v2 | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: ${{ matrix.distribution }} | ||
java-version: ${{ matrix.java }} | ||
|
||
- name: Setup Android SDK | ||
uses: android-actions/setup-android@v2 | ||
uses: android-actions/[email protected] | ||
|
||
- name: Install build-tools 33.0.2, platformtools and platform android-33 | ||
run: sdkmanager --install "build-tools;33.0.2" "platform-tools" "platforms;android-33" | ||
|
||
- name: Build with Gradle | ||
run: | | ||
./gradlew wrapper --gradle-version=${{ matrix.gradle }} | ||
./gradlew wrapper --gradle-version=${{ matrix.gradle }} | ||
./gradlew clean build | ||
./gradlew clean build --stacktrace | ||
- name: Upload artifacts | ||
uses: actions/upload-artifact@v2 | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: groestlcoin-wallet-JAVA${{ matrix.java }}-${{ matrix.os }}-${{ matrix.gradle }} | ||
path: | | ||
wallet/build/outputs/apk/ | ||
- name: Download artifacts | ||
uses: actions/download-artifact@v2 | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: groestlcoin-wallet-JAVA${{ matrix.java }}-${{ matrix.os }}-${{ matrix.gradle }} |
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 |
---|---|---|
@@ -1,24 +1,56 @@ | ||
image: ubuntu:focal | ||
|
||
variables: | ||
ANDROID_HOME: "$PWD/android-sdk" | ||
ANDROID_SDK_TOOLS: "7583922_latest" | ||
ANDROID_SDK_LICENSE_HASH: "24333f8a63b6825ea9c5514f83c2829b004d1fee" | ||
ANDROID_HOME: $PWD/android-sdk | ||
|
||
before_script: | ||
- apt-get update | ||
- apt-get -y upgrade | ||
- apt-get -y install ${JDK_PACKAGE} | ||
- apt-get -y install wget gradle | ||
- wget --quiet --output-document=commandlinetools-linux.zip https://dl.google.com/android/repository/commandlinetools-linux-${ANDROID_SDK_TOOLS}.zip | ||
- mkdir -p ${ANDROID_HOME} | ||
- unzip -d ${ANDROID_HOME} commandlinetools-linux.zip | ||
- mkdir -p ${ANDROID_HOME}/licenses | ||
- echo -e "\n${ANDROID_SDK_LICENSE_HASH}" >> ${ANDROID_HOME}/licenses/android-sdk-license | ||
|
||
build: | ||
parallel: | ||
matrix: | ||
- JDK_PACKAGE: [ openjdk-8-jdk, openjdk-11-jdk ] | ||
after_script: | ||
- gradle --version | ||
|
||
bullseye-jdk11: | ||
image: debian:bullseye-backports | ||
script: | ||
- apt-get -y install openjdk-11-jdk-headless | ||
- apt-get -y install sdkmanager gradle | ||
- yes | sdkmanager --licenses >/dev/null || true | ||
- gradle build --stacktrace | ||
artifacts: | ||
name: groestlcoin-wallet-$CI_JOB_NAME-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA | ||
paths: | ||
- wallet/build/outputs/apk/**/*.apk | ||
|
||
bookworm-jdk17: | ||
image: debian:bookworm-slim | ||
script: | ||
- apt-get -y install openjdk-17-jdk-headless | ||
- apt-get -y install sdkmanager gradle | ||
- yes | sdkmanager --licenses >/dev/null || true | ||
- gradle build --stacktrace | ||
artifacts: | ||
name: groestlcoin-wallet-$CI_JOB_NAME-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA | ||
paths: | ||
- wallet/build/outputs/apk/**/*.apk | ||
|
||
jammy-jdk11: | ||
image: ubuntu:jammy | ||
script: | ||
- apt-get -y install openjdk-11-jdk-headless | ||
- apt-get -y install sdkmanager gradle | ||
- yes | sdkmanager --licenses >/dev/null || true | ||
- gradle build --stacktrace | ||
artifacts: | ||
name: groestlcoin-wallet-$CI_JOB_NAME-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA | ||
paths: | ||
- wallet/build/outputs/apk/**/*.apk | ||
|
||
lunar-jdk17: | ||
image: ubuntu:lunar | ||
script: | ||
- apt-get -y install openjdk-17-jdk-headless | ||
- apt-get -y install sdkmanager gradle | ||
- yes | sdkmanager --licenses >/dev/null || true | ||
- gradle build --stacktrace | ||
artifacts: | ||
name: groestlcoin-wallet-$CI_JOB_NAME-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA | ||
paths: | ||
- wallet/build/outputs/apk/**/*.apk |
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
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
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.