Skip to content

Commit 98ae426

Browse files
committed
Updated Azure Pipelines config
1 parent 2ca5b00 commit 98ae426

File tree

1 file changed

+22
-8
lines changed

1 file changed

+22
-8
lines changed

azure-pipelines.yml

+22-8
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,12 @@ jobs:
3333
COMPILER_PLATFORM: vs2019
3434
PROJECT_OS: windows
3535
PREMAKE5: $(System.DefaultWorkingDirectory)/dependencies/windows/premake-core/premake5.exe
36-
PREMAKE5_URL: https://github.com/premake/premake-core/releases/download/v5.0.0-alpha15/premake-5.0.0-alpha15-windows.zip
36+
PREMAKE5_URL: https://github.com/premake/premake-core/releases/download/v5.0.0-beta1/premake-5.0.0-beta1-windows.zip
3737
steps:
38+
- checkout: self
39+
clean: true
40+
fetchDepth: 1
41+
submodules: recursive
3842
- powershell: 'Invoke-Expression ((New-Object System.Net.WebClient).DownloadString("$env:BOOTSTRAP_URL"))'
3943
displayName: Bootstrap
4044
- powershell: '& "$env:BUILD_SCRIPT"'
@@ -56,26 +60,31 @@ jobs:
5660
displayName: Linux
5761
pool:
5862
name: Azure Pipelines
59-
vmImage: ubuntu-16.04
63+
vmImage: ubuntu-latest
64+
container:
65+
image: registry.gitlab.steamos.cloud/steamrt/scout/sdk:latest
66+
options: -v /home
6067
timeoutInMinutes: 10
6168
variables:
6269
BOOTSTRAP_URL: https://raw.githubusercontent.com/danielga/garrysmod_common/master/build/bootstrap.sh
6370
BUILD_SCRIPT: $(System.DefaultWorkingDirectory)/dependencies/garrysmod_common/build/build.sh
6471
COMPILER_PLATFORM: gmake
6572
PREMAKE5: $(System.DefaultWorkingDirectory)/dependencies/linux/premake-core/premake5
6673
PROJECT_OS: linux
67-
PREMAKE5_URL: https://github.com/premake/premake-core/releases/download/v5.0.0-alpha15/premake-5.0.0-alpha15-linux.tar.gz
74+
PREMAKE5_URL: https://github.com/premake/premake-core/releases/download/v5.0.0-beta1/premake-5.0.0-beta1-linux.tar.gz
6875
CC: gcc-9
6976
CXX: g++-9
7077
AR: gcc-ar-9
7178
NM: gcc-nm-9
7279
RANLIB: gcc-ranlib-9
7380
steps:
81+
- checkout: self
82+
clean: true
83+
fetchDepth: 1
84+
submodules: recursive
7485
- bash: 'curl -s -L "$BOOTSTRAP_URL" | bash'
7586
displayName: Bootstrap
76-
- bash: |
77-
sudo apt-get update && sudo apt-get install -y g++-9-multilib
78-
$BUILD_SCRIPT
87+
- bash: '$BUILD_SCRIPT'
7988
displayName: Build
8089
- task: CopyFiles@2
8190
displayName: 'Copy files to $(Build.ArtifactStagingDirectory)'
@@ -102,11 +111,16 @@ jobs:
102111
COMPILER_PLATFORM: gmake
103112
PREMAKE5: $(System.DefaultWorkingDirectory)/dependencies/macosx/premake-core/premake5
104113
PROJECT_OS: macosx
105-
PREMAKE5_URL: https://github.com/premake/premake-core/releases/download/v5.0.0-alpha15/premake-5.0.0-alpha15-macosx.tar.gz
114+
PREMAKE5_URL: https://github.com/premake/premake-core/releases/download/v5.0.0-beta1/premake-5.0.0-beta1-macosx.tar.gz
106115
MACOSX_SDK_URL: https://github.com/phracker/MacOSX-SDKs/releases/download/10.15/MacOSX10.7.sdk.tar.xz
107116
MACOSX_SDK_DIRECTORY: $(System.DefaultWorkingDirectory)/dependencies/macosx/MacOSX10.7.sdk
108117
SDKROOT: $(System.DefaultWorkingDirectory)/dependencies/macosx/MacOSX10.7.sdk
118+
AR: ar
109119
steps:
120+
- checkout: self
121+
clean: true
122+
fetchDepth: 1
123+
submodules: recursive
110124
- bash: 'curl -s -L "$BOOTSTRAP_URL" | bash'
111125
displayName: Bootstrap
112126
- bash: |
@@ -130,7 +144,7 @@ jobs:
130144
displayName: Publish to GitHub Releases
131145
pool:
132146
name: Azure Pipelines
133-
vmImage: ubuntu-18.04
147+
vmImage: ubuntu-latest
134148
timeoutInMinutes: 5
135149
dependsOn:
136150
- windows

0 commit comments

Comments
 (0)