Skip to content
Snippets Groups Projects
Commit 84ff111a authored by duyanhehe's avatar duyanhehe
Browse files

fix cicd

parent fa6189ec
No related branches found
No related tags found
No related merge requests found
Pipeline #8871 canceled
......@@ -14,6 +14,14 @@ cache:
policy: pull-push
before_script:
- Set-ExecutionPolicy Bypass -Scope Process -Force
- if (-Not (Test-Path "C:\ProgramData\chocolatey\bin\choco.exe")) {
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072;
iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
}
- refreshenv
- if (-Not (Get-Command python -ErrorAction SilentlyContinue)) { choco install python --version=3.11.5 -y }
- refreshenv
- python -m venv .venv
- source .venv/Scripts/activate
- pip install --upgrade pip
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment