CI: Tidy up build steps

pull/878/head
Phil Howard 2023-11-16 14:43:58 +00:00
rodzic b5df0ac277
commit b6953c25a1
2 zmienionych plików z 1 dodań i 10 usunięć

Wyświetl plik

@ -75,10 +75,9 @@ jobs:
source $BUILD_TOOLS
build_deps
- name: Checkout MicroPython & MicroPython Libs
- name: Checkout MicroPython & Submodules
run: |
source $BUILD_TOOLS
clone_micropython_lib
clone_micropython
- name: "HACK: CMakeLists.txt Disable C++ Exceptions Patch"

Wyświetl plik

@ -12,10 +12,6 @@ function log_warning {
echo -e "$(tput setaf 1)$1$(tput sgr0)"
}
function clone_micropython_lib {
git clone https://github.com/micropython/micropython-lib --depth=1
}
function clone_micropython {
log_inform "Using MicroPython $MICROPYTHON_VERSION"
git clone https://github.com/micropython/micropython --depth=1 --branch=$MICROPYTHON_VERSION
@ -36,10 +32,6 @@ function build_deps {
sudo apt update && sudo apt install ccache
}
function clone_pimoroni_pico {
git clone https://github.com/micropython/micropython --branch=$PIMORONI_PICO_SHA --depth=1
}
function micropython_version {
echo "MICROPY_GIT_TAG=$MICROPYTHON_VERSION, $BOARD_NAME $TAG_OR_SHA" >> $GITHUB_ENV
echo "MICROPY_GIT_HASH=$MICROPYTHON_VERSION-$TAG_OR_SHA" >> $GITHUB_ENV