mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-25 20:22:30 +01:00
0f1fd059fc
Also sets up Azure artifacts (including for PRs) for AppImages
41 lines
959 B
YAML
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)
|