Use default python in PATH for circleci windows bot. NFC (#1609)
`C:\Python312\python.exe` is already in the path by default. We no longer need to set this special path or environment variable. In fact this code was doing nothing since it was adding the end of the PATH so the system python was already coming first.
This commit is contained in:
@@ -138,22 +138,17 @@ jobs:
|
|||||||
name: win/server-2019
|
name: win/server-2019
|
||||||
shell: bash.exe
|
shell: bash.exe
|
||||||
environment:
|
environment:
|
||||||
# We need python installed before we can test anytyhing.
|
|
||||||
# There seems to be undocument copy of python installed here. Hopefully
|
|
||||||
# if this disappears there will be another way of getting a re-installed
|
|
||||||
# version.
|
|
||||||
PYTHON_BIN: "C:\\Python27amd64"
|
|
||||||
PYTHONUNBUFFERED: "1"
|
PYTHONUNBUFFERED: "1"
|
||||||
EMSDK_NOTTY: "1"
|
EMSDK_NOTTY: "1"
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- run:
|
- run: where python
|
||||||
name: Add python to bash path
|
|
||||||
command: echo "export PATH=\"$PATH:/c/python27amd64/\"" >> $BASH_ENV
|
|
||||||
- run:
|
- run:
|
||||||
name: Install latest
|
name: Install latest
|
||||||
shell: cmd.exe
|
shell: cmd.exe
|
||||||
command: test\test.bat
|
command: test\test.bat
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: test.py
|
name: test.py
|
||||||
command: |
|
command: |
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
:: equivalent of test.sh as windows bat file
|
:: equivalent of test.sh as windows bat file
|
||||||
set PATH=%PATH%;%PYTHON_BIN%
|
|
||||||
CALL emsdk install latest
|
CALL emsdk install latest
|
||||||
CALL emsdk activate latest
|
CALL emsdk activate latest
|
||||||
CALL emsdk_env.bat
|
CALL emsdk_env.bat
|
||||||
|
|||||||
Reference in New Issue
Block a user