Install python3 in CI

This commit is contained in:
Morbo
2023-09-02 07:18:02 +03:00
parent 147173a892
commit 76d6c4e2db

View File

@@ -9,6 +9,7 @@ test:
variables:
GIT_SUBMODULE_STRATEGY: recursive
script:
- apt-get update -y && apt-get install python3 -y
- dotnet restore /clp:ErrorsOnly
- dotnet build --configuration Tools --no-restore /p:WarningsAsErrors=nullable /clp:ErrorsOnly /m
- dotnet test --configuration Tools --no-build Content.Tests/Content.Tests.csproj -- NUnit.ConsoleOut=0
@@ -26,6 +27,7 @@ publish:
variables:
- ($SSH_PRIVATE_KEY == null || $SSH_REMOTE_IP == null || $SSH_USER == null)
script:
- apt-get update -y && apt-get install python3 -y
# TODO: Add secrets checkout
- Tools/package_server_build.py -p win-x64 linux-x64 osx-x64 linux-arm64 > server_build.log
- Tools/package_client_build.py > client_build.log