mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 16:31:28 +12:00
Properly setup Azure Pipelines using current system
Also sets up Azure artifacts (including for PRs) for AppImages
This commit is contained in:
parent
87c8d1800b
commit
0f1fd059fc
4 changed files with 70 additions and 51 deletions
|
@ -31,5 +31,9 @@ cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_LLVM_SUBMODULE=OFF -DUSE_COTIRE=OFF
|
|||
ninja; build_status=$?;
|
||||
|
||||
cd ..
|
||||
# If it compiled succesfully let's deploy
|
||||
if [ $build_status -eq 0 ] && [ -n "$GITHUB_TOKEN" ] && [ "$TRAVIS_BRANCH" = "master" ] && [ "$TRAVIS_PULL_REQUEST" = false ]; then /bin/bash -ex .travis/deploy-linux.bash ; fi
|
||||
|
||||
# If it compiled succesfully let's deploy depending on the build pipeline (Travis, Azure Pipelines)
|
||||
# BUILD_REASON is an Azure Pipeline variable, and we want to deploy when using Azure Pipelines
|
||||
if [[ $build_status -eq 0 && ( -n "$BUILD_REASON" || ( "$TRAVIS_BRANCH" = "master" && "$TRAVIS_PULL_REQUEST" = false ) ) ]]; then
|
||||
/bin/bash -ex .travis/deploy-linux.bash
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue