1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-19 23:22:16 +03:00

Fix ESP8266SdFat architecture, Windows CI (#7866)

* Fix ESP8266SdFat architecture

Avoid problems reported in
https://forum.arduino.cc/index.php?topic=726897.msg4889319

* Fix Windows CI, python3 now *maybe* exists

Python3 used to be called "python.exe" on earlier VMs, but it looks like
the image has been updated and a "python3.exe" does now exist.  Update
the CI script to first check it "python3" exists, and if not then do the
copy hack, OTW do nothing.
This commit is contained in:
Earle F. Philhower, III 2021-02-08 12:02:49 -08:00 committed by GitHub
parent 07b4c09b90
commit a886515ce9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -102,7 +102,7 @@ jobs:
run: | run: |
# Windows has python3 already installed, but it's called "python". # Windows has python3 already installed, but it's called "python".
# Copy python.exe to the proper name so scripts "just work". # Copy python.exe to the proper name so scripts "just work".
copy (get-command python).source (get-command python).source.Replace("python.exe", "python3.exe") try { Get-Command python3 } catch { copy (get-command python).source (get-command python).source.Replace("python.exe", "python3.exe") }
bash ./tests/build.sh bash ./tests/build.sh

@ -1 +1 @@
Subproject commit 0a46e4ebb2de585c5a64f981dbc2b2223a438984 Subproject commit 9f94df41ccdb064ff4cb98d7b2737a369f6be1a0