mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-16 23:17:29 +00:00
parent
3105b21909
commit
87c8d1800b
41
azure-pipelines.yml
Normal file
41
azure-pipelines.yml
Normal file
@ -0,0 +1,41 @@
|
||||
variables:
|
||||
COMPILER: clang
|
||||
CCACHE_DIR: $(Pipeline.Workspace)/ccache
|
||||
|
||||
trigger:
|
||||
- master
|
||||
|
||||
pool:
|
||||
vmImage: 'ubuntu-latest'
|
||||
|
||||
steps:
|
||||
- bash: |
|
||||
sudo apt-get install ccache -y
|
||||
echo "##vso[task.prependpath]/usr/lib/ccache"
|
||||
displayName: Install ccache and update PATH to use linked versions of gcc, cc, etc
|
||||
|
||||
- task: CacheBeta@0
|
||||
inputs:
|
||||
key: ccache | $(Agent.OS)
|
||||
path: $(CCACHE_DIR)
|
||||
displayName: ccache
|
||||
|
||||
- bash: |
|
||||
docker pull rpcs3/rpcs3-travis-trusty:1.1
|
||||
docker run \
|
||||
-v $(pwd):/rpcs3 \
|
||||
-v $CCACHE_DIR:/root/.ccache \
|
||||
rpcs3/rpcs3-travis-trusty:1.1 \
|
||||
/bin/bash -ex /rpcs3/.travis/build-linux.bash
|
||||
displayName: Fetch and build with Docker
|
||||
|
||||
- task: CopyFiles@2
|
||||
inputs:
|
||||
sourceFolder: '$(Build.SourcesDirectory)'
|
||||
contents: 'build/bin/rpcs3'
|
||||
TargetFolder: '$(Pipeline.Workspace)/artifacts'
|
||||
|
||||
- task: PublishBuildArtifacts@1
|
||||
inputs:
|
||||
pathtoPublish: '$(Pipeline.Workspace)/artifacts'
|
||||
artifactName: drop
|
Loading…
Reference in New Issue
Block a user