Check files and Choco install Python 10

This commit is contained in:
Maurício Szabo 2022-10-27 11:56:28 -03:00 committed by Maurício Szabo
parent 86ccff34fd
commit bf99ebc114

View File

@ -26,7 +26,7 @@ linux_task:
- yarn install --ignore-scripts || yarn install --ignore-scripts
- yarn build
- yarn run build:apm
- rm -Rf node-modules/electron && yarn install
- rm -Rf node-modules/electron && yarn install --check-files
- Xvfb :99 & DISPLAY=:99 PLAYWRIGHT_JUNIT_OUTPUT_NAME=report.xml npx playwright test --reporter=junit,list
always:
videos_artifacts:
@ -78,7 +78,7 @@ arm_linux_task:
- yarn install --ignore-scripts || yarn install --ignore-scripts
- yarn build
- yarn run build:apm
- rm -Rf node-modules/electron && yarn install
- rm -Rf node-modules/electron && yarn install --check-files
build_binary_script:
- source /etc/profile.d/rvm.sh
- yarn dist || yarn dist
@ -109,7 +109,7 @@ silicon_mac_task:
- yarn install --ignore-scripts || yarn install --ignore-scripts
- yarn build
- yarn run build:apm
- rm -Rf node-modules/electron && yarn install
- rm -Rf node-modules/electron && yarn install --check-files
- PLAYWRIGHT_JUNIT_OUTPUT_NAME=report.xml npx playwright test --reporter=junit,list
always:
videos_artifacts:
@ -144,7 +144,7 @@ intel_mac_task:
- arch -x86_64 npx yarn install --ignore-scripts || arch -x86_64 npx yarn install --ignore-scripts
- arch -x86_64 npx yarn build
- arch -x86_64 yarn run build:apm
- rm -Rf node-modules/electron && yarn install
- rm -Rf node-modules/electron && yarn install --check-files
- export PATH="/usr/local/opt/node@16/bin:/usr/local/bin/python3:/usr/local/bin:$PATH"
- arch -x86_64 npx yarn dist || arch -x86_64 npx yarn dist
binary_artifacts:
@ -171,7 +171,8 @@ windows_task:
PATH: C:\Python310\Scripts\;C:\Python310\;%PATH%;C:\Program Files\nodejs\;C:\Program Files\Git\cmd;C:\Users\User\AppData\Local\Microsoft\WindowsApps;C:\Users\User\AppData\Roaming\npm;C:\Program Files\Microsoft Visual Studio\2022\Community\Msbuild\Current\Bin\
install_deps_script:
- choco install nodejs --version=14.15.0 -y
- choco install python git visualstudio2019-workload-vctools -y
- choco install python --version=3.10.3 -y
- choco install git visualstudio2019-workload-vctools -y
- git submodule init
- git submodule update
- npm config set python 'C:\Python310\python.exe'