Docker experiments back
This commit is contained in:
parent
841df99d61
commit
c9b85f31f7
@ -3,6 +3,9 @@ variables:
|
|||||||
PYTHON3_64: "C:\\python38-64\\python.exe"
|
PYTHON3_64: "C:\\python38-64\\python.exe"
|
||||||
NSIS: "C:\\nsis\\makensis.exe"
|
NSIS: "C:\\nsis\\makensis.exe"
|
||||||
|
|
||||||
|
default:
|
||||||
|
image: python:3.8.4-windowsservercore
|
||||||
|
|
||||||
### 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.
|
||||||
# pack: Jobs in this stage will take the dist folder and zip it or generate an exe file.
|
# pack: Jobs in this stage will take the dist folder and zip it or generate an exe file.
|
||||||
@ -15,9 +18,12 @@ stages:
|
|||||||
tags:
|
tags:
|
||||||
- windows10
|
- windows10
|
||||||
before_script:
|
before_script:
|
||||||
- '&$env:PYTHON3_32 -V'
|
- '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:PYTHON3_32 -m venv env'
|
- '.\git_setup.exe /verysilent /dir=git'
|
||||||
- 'env\scripts\activate'
|
- '$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";C:\git\bin" + [System.Environment]::GetEnvironmentVariable("Path","User") '
|
||||||
|
- 'python -V'
|
||||||
|
# - '&$env:PYTHON3_32 -m venv env'
|
||||||
|
# - 'env\scripts\activate'
|
||||||
- 'python -m pip install --upgrade pip'
|
- 'python -m pip install --upgrade pip'
|
||||||
- 'python -m pip install --upgrade -r requirements.txt'
|
- 'python -m pip install --upgrade -r requirements.txt'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user