-
-
Notifications
You must be signed in to change notification settings - Fork 345
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
**Host** - Fix host --help option - Add --loopcount emulator option **Build** - Update FixPath to handle spaces in path - Fix COMPONENT_SEARCH_DIRS for Windows - Fix appcode object path resolution, ensure object path is relative **Installer** - `all` option missing rp2040 - Remove `doc` option from `all` **CI testing** - Revise to simplify use by external libraries Co-authored-by: Slavey Karadzhov <[email protected]>
- Loading branch information
1 parent
ffe8d1e
commit 0ddd831
Showing
15 changed files
with
133 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,3 @@ | ||
REM Host install.cmd | ||
|
||
call :install "c:\tools\doxygen" doxygen-1.9.1.windows.bin.zip | ||
call :install "c:\tools" stable_windows_10_msbuild_Release_Win32_graphviz-2.46.1-win32.zip | ||
|
||
python -m pip install --upgrade pip wheel | ||
|
||
python -m pip install -r %SMING_HOME%/../docs/requirements.txt | ||
|
||
python -m pip uninstall -y xcffib | ||
|
||
goto :EOF | ||
|
||
:install | ||
if "%~1"=="" goto :EOF | ||
mkdir %1 | ||
curl -LO %SMINGTOOLS%/%2 | ||
7z -o%1 -y x %2 | ||
echo. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,36 @@ | ||
REM Windows install script | ||
|
||
set SMINGTOOLS=https://github.com/SmingHub/SmingTools/releases/download/1.0 | ||
REM | ||
REM Windows CI install script | ||
REM | ||
|
||
echo. | ||
echo. | ||
echo ** Installing common python requirements | ||
echo. | ||
python -m pip install --upgrade pip -r %SMING_HOME%\..\Tools\requirements.txt | ||
|
||
echo. | ||
echo. | ||
echo ** Installing MinGW | ||
echo. | ||
rmdir /s /q c:\MinGW | ||
curl -Lo MinGW.7z %SMINGTOOLS%/MinGW-2020-10-19.7z | ||
7z -oC:\ x MinGW.7z | ||
|
||
call %SMING_HOME%\Arch\%SMING_ARCH%\Tools\ci\install.cmd | ||
if "%1" == "all" ( | ||
call :install Host Esp8266 Esp32 Rp2040 | ||
goto :EOF | ||
) | ||
|
||
:install | ||
if "%1" == "" goto :EOF | ||
echo. | ||
echo. | ||
echo ** Installing %1 toolchain | ||
echo. | ||
if "%1" == "doc" ( | ||
call %SMING_HOME%\..\docs\Tools\install.cmd | ||
) else ( | ||
call %SMING_HOME%\Arch\%1\Tools\ci\install.cmd | ||
) | ||
shift | ||
goto :install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
# | ||
# CI installer script | ||
# | ||
# May also be used for library CI builds. The following variables must be set: | ||
# | ||
# CI_BUILD_DIR | ||
# SMING_HOME | ||
# | ||
|
||
# appveyor-specific | ||
export PYTHON=$HOME/venv3.9/bin/python | ||
export ESP32_PYTHON_PATH=$HOME/venv3.9/bin | ||
source "$HOME/venv3.9/bin/activate" | ||
|
||
# Install requested toolchains | ||
"$SMING_HOME/../Tools/install.sh" $@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
|
||
# Esp8266 | ||
$env:UDK_ROOT = Join-Path $env:CI_BUILD_DIR "opt/esp-alt-sdk" | ||
$env:EQT_ROOT = Join-Path $env:CI_BUILD_DIR "opt/esp-quick-toolchain" | ||
if ($env:BUILD_COMPILER -eq "udk") { | ||
$env:ESP_HOME = $env:UDK_ROOT | ||
} else { | ||
$env:ESP_HOME = $env:EQT_ROOT | ||
} | ||
|
||
# Esp32 | ||
$env:IDF_PATH = Join-Path $env:CI_BUILD_DIR "opt/esp-idf" | ||
$env:IDF_TOOLS_PATH = Join-Path $env:CI_BUILD_DIR "opt/tools/esp32" | ||
$env:IDF_BRANCH = "sming/dev/v4.3" | ||
|
||
# Rp2040 | ||
$env:PICO_TOOLCHAIN_PATH = Join-Path $env:CI_BUILD_DIR "opt/rp2040" | ||
|
||
# General | ||
$env:SMINGTOOLS = "https://github.com/SmingHub/SmingTools/releases/download/1.0" | ||
|
||
if ($IsWindows) { | ||
$env:PATH = "C:\Python39;C:\Python39\Scripts;C:\MinGW\msys\1.0\bin;C:\MinGW\bin;" + $env:PATH | ||
$env:PYTHON = "C:\Python39\python" | ||
$env:ESP32_PYTHON_PATH = "C:\Python39" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
REM Docs install.cmd | ||
|
||
call :install "c:\tools\doxygen" doxygen-1.9.1.windows.bin.zip | ||
call :install "c:\tools" stable_windows_10_msbuild_Release_Win32_graphviz-2.46.1-win32.zip | ||
setx PATH C:\tools\doxygen;C:\tools\Graphviz\bin;%PATH% | ||
|
||
python -m pip install --upgrade pip wheel | ||
python -m pip install -r %SMING_HOME%/../docs/requirements.txt | ||
python -m pip uninstall -y xcffib | ||
|
||
goto :EOF | ||
|
||
:install | ||
if "%~1"=="" goto :EOF | ||
mkdir %1 | ||
curl -LO %SMINGTOOLS%/%2 | ||
7z -o%1 -y x %2 |