Fix windows build

This commit is contained in:
Kyle
2021-10-08 21:40:49 +08:00
parent b81d140ca6
commit 3aa121688b
+6 -11
View File
@@ -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