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)