1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-21 18:22:33 +01:00
rpcs3/azure-pipelines.yml

41 lines
959 B
YAML
Raw Normal View History

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)