Fix windows build
This commit is contained in:
+6
-11
@@ -15,19 +15,14 @@ jobs:
|
|||||||
include:
|
include:
|
||||||
- name: Windows
|
- name: Windows
|
||||||
os: windows
|
os: windows
|
||||||
python: 3.9
|
python: 3.8
|
||||||
env:
|
before_install:
|
||||||
- PATH=/c/Python39:/c/Python39/Scripts:${PATH}
|
- choco install python --version=3.8.2
|
||||||
|
- export PATH="/c/Python38:/c/Python38/Scripts:$PATH"
|
||||||
before_script:
|
before_script:
|
||||||
- choco install -y visualstudio2019buildtools python3 --package-parameters "--add
|
- choco install -y visualstudio2019buildtools --package-parameters "--add Microsoft.VisualStudio.Component.VC.Tools.x86.x64"
|
||||||
Microsoft.VisualStudio.Component.VC.Tools.x86.x64";
|
|
||||||
- pip install --user -U pip setuptools
|
|
||||||
- |
|
|
||||||
pushd ${DEPS_DIR}/ambuild
|
|
||||||
python setup.py install
|
|
||||||
popd
|
|
||||||
script:
|
script:
|
||||||
- "./build.bat"
|
- ./build.bat
|
||||||
- name: Linux
|
- name: Linux
|
||||||
dist: xenial
|
dist: xenial
|
||||||
python: 3
|
python: 3
|
||||||
|
|||||||
Reference in New Issue
Block a user