New attempt
This commit is contained in:
parent
9ef726e762
commit
b9c763c4f4
@ -4,7 +4,7 @@ variables:
|
|||||||
NSIS: "C:\\nsis\\makensis.exe"
|
NSIS: "C:\\nsis\\makensis.exe"
|
||||||
|
|
||||||
default:
|
default:
|
||||||
image: python:3.8.4-windowsservercore
|
image: mcr.microsoft.com/windows/servercore:1809-amd64
|
||||||
|
|
||||||
### Stage list
|
### Stage list
|
||||||
# Build: This will be the main stage generating stuff in the dist folder. Jobs present in this stage will run py2exe or pyinstaller files accordingly.
|
# Build: This will be the main stage generating stuff in the dist folder. Jobs present in this stage will run py2exe or pyinstaller files accordingly.
|
||||||
@ -19,10 +19,12 @@ stages:
|
|||||||
- windows10
|
- windows10
|
||||||
before_script:
|
before_script:
|
||||||
- '$ProgressPreference = "SilentlyContinue"'
|
- '$ProgressPreference = "SilentlyContinue"'
|
||||||
- 'Invoke-WebRequest -UseBasicParsing -Uri "https://github.com/git-for-windows/git/releases/download/v2.27.0.windows.1/Git-2.27.0-32-bit.exe" -OutFile "git_setup.exe"'
|
- 'Set-ExecutionPolicy Bypass -Scope Process -Force; iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex'
|
||||||
- '.\git_setup.exe /verysilent /NORESTART /NOCANCEL /SP- /CLOSEAPPLICATIONS /RESTARTAPPLICATIONS /COMPONENTS="icons,ext\reg\shellhere,assoc,assoc_sh" /dir=C:\git'
|
- 'choco install -y --x86 python git nsis'
|
||||||
- '$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";C:\git\cmd\;" + [System.Environment]::GetEnvironmentVariable("Path","User") '
|
# - 'Invoke-WebRequest -UseBasicParsing -Uri "https://github.com/git-for-windows/git/releases/download/v2.27.0.windows.1/Git-2.27.0-32-bit.exe" -OutFile "git_setup.exe"'
|
||||||
- '$env:PATH'
|
# - '.\git_setup.exe /verysilent /NORESTART /NOCANCEL /SP- /CLOSEAPPLICATIONS /RESTARTAPPLICATIONS /COMPONENTS="icons,ext\reg\shellhere,assoc,assoc_sh" /dir=C:\git'
|
||||||
|
# - '$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";C:\git\cmd\;" + [System.Environment]::GetEnvironmentVariable("Path","User") '
|
||||||
|
# - '$env:PATH'
|
||||||
- 'python -V'
|
- 'python -V'
|
||||||
# - '&$env:PYTHON3_32 -m venv env'
|
# - '&$env:PYTHON3_32 -m venv env'
|
||||||
# - 'env\scripts\activate'
|
# - 'env\scripts\activate'
|
||||||
|
Loading…
Reference in New Issue
Block a user