rpcs3/azure-pipelines.yml
Zion Nimchuk 0f1fd059fc Properly setup Azure Pipelines using current system
Also sets up Azure artifacts (including for PRs) for AppImages
2020-03-03 10:39:30 +03:00

41 lines
959 B
YAML

trigger:
branches:
include:
- master
tags:
exclude:
- '*'
jobs:
- job: Linux_Build
strategy:
matrix:
Clang:
COMPILER: clang
GCC:
COMPILER: gcc
DEPLOY_APPIMAGE: true
variables:
COMPILER: clang
CCACHE_DIR: $(Pipeline.Workspace)/ccache
pool:
vmImage: 'ubuntu-latest'
steps:
- task: Cache@0
inputs:
key: ccache | $(Agent.OS) | $(COMPILER)
path: $(CCACHE_DIR)
displayName: Ccache
- bash: |
docker pull --quiet rpcs3/rpcs3-travis-xenial:1.2
docker run \
-v $(pwd):/rpcs3 \
--env-file .travis/travis.env \
-v $CCACHE_DIR:/root/.ccache \
-v $BUILD_ARTIFACTSTAGINGDIRECTORY:/root/artifacts \
rpcs3/rpcs3-travis-xenial:1.2 \
/bin/bash -ex /rpcs3/.travis/build-linux.bash
displayName: Docker setup and build
- publish: $(Build.ArtifactStagingDirectory)