From ce8b4315f1349b456e305b8e7fc504055332b6a0 Mon Sep 17 00:00:00 2001 From: Andy Wang Date: Sat, 29 Jun 2024 17:52:15 +0100 Subject: [PATCH] Remove azure pipelines --- azure-pipelines.yml | 71 --------------------------------------------- 1 file changed, 71 deletions(-) delete mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml deleted file mode 100644 index 1dd4aa6..0000000 --- a/azure-pipelines.yml +++ /dev/null @@ -1,71 +0,0 @@ -# Android -# Build your Android project with Gradle. -# Add steps that test, sign, and distribute the APK, save build artifacts, and more: -# https://docs.microsoft.com/azure/devops/pipelines/languages/android - -trigger: - tags: - include: - - refs/tags/v* - branches: - exclude: - - master - -pool: - vmImage: 'ubuntu-latest' - -variables: - NDKVERSION: 'r25c' - ANDROID_NDK_HOME: '$(Agent.BuildDirectory)/android-ndk-$(NDKVERSION)' # NDK path - -steps: -- task: GoTool@0 - inputs: - version: '1.20' - displayName: 'Set up Go tools' - -- script: | - wget "https://dl.google.com/android/repository/android-ndk-$(NDKVERSION)-linux.zip" --output-document "$(Agent.BuildDirectory)/ndk-$(NDKVERSION).zip" - unzip "$(Agent.BuildDirectory)/ndk-$(NDKVERSION).zip" -d '$(Agent.BuildDirectory)' - displayName: 'Download NDK' - -- script: | - pushd '$(Build.SourcesDirectory)/app/src' - ./make.sh - popd - displayName: 'Cross compiling ck-client binaries' - continueOnError: false - -- task: Gradle@2 - inputs: - workingDirectory: '' - gradleWrapperFile: 'gradlew' - gradleOptions: '-Xmx3072m' - publishJUnitResults: false - testResultsFiles: '**/TEST-*.xml' - tasks: 'assembleRelease' - -- task: AndroidSigning@2 - inputs: - apkFiles: '**/*.apk' - jarsign: true - jarsignerKeystoreFile: 'mainAPK.jks' - jarsignerKeystorePassword: '$(jarsignerKeystorePassword)' - jarsignerKeystoreAlias: 'main' - jarsignerKeyPassword: '$(jarsignerKeyPassword)' - zipalign: true - -- task: CopyFiles@2 - inputs: - contents: '**/*.apk' - targetFolder: '$(build.artifactStagingDirectory)' - -- task: GitHubRelease@0 - inputs: - gitHubConnection: github.com_cbeuw - repositoryName: '$(Build.Repository.Name)' - assets: '$(build.artifactStagingDirectory)/app/build/outputs/apk/release/*.apk' - action: 'create' # Options: create, edit, delete - target: '$(Build.SourceVersion)' # Required when action == Create || Action == Edit - tagSource: 'auto' # Required when action == Create# Options: auto, manual - addChangeLog: false # Optional