Skip to content
This repository has been archived by the owner on Mar 22, 2022. It is now read-only.

Commit

Permalink
Add basic Android CI (#576)
Browse files Browse the repository at this point in the history
  • Loading branch information
djee-ms committed Sep 15, 2020
1 parent d94268a commit 7843094
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 1 deletion.
38 changes: 38 additions & 0 deletions tools/ci/ci-android.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

# MixedReality-WebRTC build pipeline for Android CI

# Trigger CI on push changes
trigger:
batch: true # Android build is very slow (>1 hour) so batch changes
branches:
include:
- master
- release/*
exclude:
- docs/*

# Do not trigger CI on PRs
pr: none

# Give a unique name to the build each time it runs
name: ci-android-$(SourceBranchName)-$(Date:yyyyMMdd)-$(Rev:r)

parameters:
- name: clean
displayName: 'Clean build'
type: boolean
default: true

stages:

# Compile mrwebrtc
- stage: build
displayName: 'Build mrwebrtc'
jobs:

# Build mrwebrtc.aar for Android
- template: templates/jobs-libwebrtc-android.yaml
parameters:
buildConfig: 'Debug'
2 changes: 1 addition & 1 deletion tools/ci/templates/jobs-libwebrtc-android.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ jobs:
contents: 'mrwebrtc.aar'
targetFolder: '$(Build.ArtifactStagingDirectory)'

# Publish mrwebrtc.dll and mrwebrtc.pdb
# Publish mrwebrtc.aar
- task: PublishPipelineArtifact@0
displayName: 'Publish mrwebrtc'
inputs:
Expand Down

0 comments on commit 7843094

Please sign in to comment.