Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sasquatch app build with CodeQL analysis #1746

Merged
merged 3 commits into from
Jan 9, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 58 additions & 0 deletions .azurepipelines/build-demo-app.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
pr:
- master

pool:
vmImage: macos-latest

jobs:
- job:
displayName: Build and CodeQL Sasquatch App
steps:

- checkout: self
clean: true
submodules: recursive
fetchTags: false

- task: CodeQL3000Init@0
displayName: CodeQL Initialize

- task: JavaToolInstaller@0
displayName: Use Java 11
inputs:
versionSpec: 11
jdkArchitectureOption: x64
jdkSourceOption: PreInstalled

- task: DownloadSecureFile@1
displayName: Download GPG-key
inputs:
secureFile: 98b107ca-fab1-42c0-819d-2871c022869c

- task: Bash@3
displayName: Put Azure Credentials
inputs:
filePath: ./scripts/put-azure-credentials.sh
arguments: $(AZURE_USERNAME) $(AZURE_PASSWORD)

- task: ShellScript@2
displayName: Configure bintray
inputs:
scriptPath: scripts/put-bintray-secrets-gradle.sh
args: $(MAVEN_USER) $(MAVEN_KEY) $(GDP_SIGNING_KEY_ID) "$(Agent.TempDirectory)/appcenter-gpg-key.gpg" $(GDP_KEY_PASSWORD)
disableAutoCwd: true

- task: Bash@3
displayName: Set NDK version
inputs:
filePath: ./scripts/set-ndk-version.sh

- task: Gradle@3
displayName: Gradle - Build Sasquatch App
inputs:
workingDirectory: apps
tasks: assembleRelease
publishJUnitResults: false

- task: CodeQL3000Finalize@0
displayName: CodeQL Finalize