mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-16 23:17:29 +00:00
45 lines
997 B
YAML
45 lines
997 B
YAML
trigger:
|
|
branches:
|
|
include:
|
|
- master
|
|
tags:
|
|
exclude:
|
|
- '*'
|
|
pr:
|
|
branches:
|
|
include:
|
|
- master
|
|
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)
|