CI: Maintenance
- Rename .travis dir to .ci, since it isn't just for Travis - Convert Linux build scripts to posix sh - Clean up some scripts per shellcheck
This commit is contained in:
+6
-5
@@ -20,6 +20,7 @@ jobs:
|
||||
DEPLOY_APPIMAGE: true
|
||||
variables:
|
||||
CCACHE_DIR: $(Pipeline.Workspace)/ccache
|
||||
IS_AZURE: true
|
||||
pool:
|
||||
vmImage: 'ubuntu-latest'
|
||||
steps:
|
||||
@@ -33,11 +34,11 @@ jobs:
|
||||
docker pull --quiet rpcs3/rpcs3-travis-xenial:1.2
|
||||
docker run \
|
||||
-v $(pwd):/rpcs3 \
|
||||
--env-file .travis/travis.env \
|
||||
--env-file .ci/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
|
||||
/rpcs3/.ci/build-linux.sh
|
||||
displayName: Docker setup and build
|
||||
|
||||
- publish: $(Build.ArtifactStagingDirectory)
|
||||
@@ -64,10 +65,10 @@ jobs:
|
||||
path: $(CACHE_DIR)
|
||||
displayName: Cache
|
||||
|
||||
- bash: .travis/setup-windows.sh
|
||||
- bash: .ci/setup-windows.sh
|
||||
displayName: Download and unpack dependencies
|
||||
|
||||
- bash: .travis/export-azure-vars.sh
|
||||
- bash: .ci/export-azure-vars.sh
|
||||
displayName: Export Variables
|
||||
|
||||
- task: VSBuild@1
|
||||
@@ -78,7 +79,7 @@ jobs:
|
||||
configuration: 'Release - LLVM'
|
||||
displayName: Compile RPCS3
|
||||
|
||||
- bash: .travis/deploy-windows.sh
|
||||
- bash: .ci/deploy-windows.sh
|
||||
displayName: Pack up build artifacts
|
||||
|
||||
- publish: $(Build.ArtifactStagingDirectory)
|
||||
|
||||
Reference in New Issue
Block a user