From ec578fa8cb9d3053abc274829616cb30521b1695 Mon Sep 17 00:00:00 2001 From: hathach Date: Wed, 1 Apr 2020 22:55:44 +0700 Subject: try adding esp32 to ci --- .github/workflows/esp32s2.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/esp32s2.yml (limited to '.github') diff --git a/.github/workflows/esp32s2.yml b/.github/workflows/esp32s2.yml new file mode 100644 index 000000000..0b70c44b6 --- /dev/null +++ b/.github/workflows/esp32s2.yml @@ -0,0 +1,34 @@ +name: Build + +on: [pull_request, push, repository_dispatch] + +jobs: + build: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + example: ['cdc_msc_freertos'] + + steps: + - name: Setup Python + uses: actions/setup-python@v1 + + - name: Install Toolchains + run: | + git clone https://github.com/espressif/esp-idf.git $HOME/esp-idf + cd $HOME/esp-idf + ./install.sh + #echo "::add-path::`echo $HOME/msp430-gcc-*_linux64/bin`" + + - name: Checkout TinyUSB + uses: actions/checkout@v2 + + - name: Checkout Submodules + run: | + git submodule sync --recursive + git submodule update --init --recursive + +# - name: Build +# run: python3 tools/build_all.py ${{ matrix.example }} + -- cgit v1.3.1 From 2824e5c97aedfe46a621d786fb6577f632a0097c Mon Sep 17 00:00:00 2001 From: hathach Date: Wed, 1 Apr 2020 23:03:57 +0700 Subject: more ci test --- .github/workflows/esp32s2.yml | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to '.github') diff --git a/.github/workflows/esp32s2.yml b/.github/workflows/esp32s2.yml index 0b70c44b6..a3f30c8f8 100644 --- a/.github/workflows/esp32s2.yml +++ b/.github/workflows/esp32s2.yml @@ -1,4 +1,4 @@ -name: Build +name: Build ESP32-S2 on: [pull_request, push, repository_dispatch] @@ -14,7 +14,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v1 - - name: Install Toolchains + - name: Install ESP-IDF run: | git clone https://github.com/espressif/esp-idf.git $HOME/esp-idf cd $HOME/esp-idf @@ -24,11 +24,15 @@ jobs: - name: Checkout TinyUSB uses: actions/checkout@v2 - - name: Checkout Submodules - run: | - git submodule sync --recursive - git submodule update --init --recursive +# - name: Checkout Submodules +# run: | +# git submodule sync --recursive +# git submodule update --init --recursive -# - name: Build -# run: python3 tools/build_all.py ${{ matrix.example }} + - name: Build + run: | + . $HOME/esp-idf/export.sh + cd examples/device/cdc_msc_freertos + idf.py build + #python3 tools/build_all.py ${{ matrix.example }} -- cgit v1.3.1 From 7c33a7127f009c54fa43b94243def846284865af Mon Sep 17 00:00:00 2001 From: hathach Date: Fri, 3 Apr 2020 12:08:06 +0700 Subject: make as wrapper to idf.py for consistency update ci build script to only build esp32-s2 target with freertos examples --- .github/workflows/build.yml | 18 ++++++++++++++---- .github/workflows/esp32s2.yml | 38 -------------------------------------- examples/rules.mk | 30 ++++++++++++++++++++++++++---- tools/build_all.py | 22 +++++++++++++++------- 4 files changed, 55 insertions(+), 53 deletions(-) delete mode 100644 .github/workflows/esp32s2.yml (limited to '.github') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 551c7cb92..7edb1fcba 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,15 +36,23 @@ jobs: - name: Install Toolchains run: | + # ARM & RISC-V GCC from xpack npm install --global xpm xpm install --global @xpack-dev-tools/arm-none-eabi-gcc@latest xpm install --global @xpack-dev-tools/riscv-none-embed-gcc@latest - wget http://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/MSPGCC/8_3_0_0/exports/msp430-gcc-8.3.0.16_linux64.tar.bz2 -O /tmp/msp430-gcc.tar.bz2 - tar -C $HOME -xaf /tmp/msp430-gcc.tar.bz2 echo "::add-path::`echo $HOME/opt/xPacks/@xpack-dev-tools/arm-none-eabi-gcc/*/.content/bin`" echo "::add-path::`echo $HOME/opt/xPacks/@xpack-dev-tools/riscv-none-embed-gcc/*/.content/bin`" + + # TI MSP430 GCC + wget http://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/MSPGCC/8_3_0_0/exports/msp430-gcc-8.3.0.16_linux64.tar.bz2 -O /tmp/msp430-gcc.tar.bz2 + tar -C $HOME -xaf /tmp/msp430-gcc.tar.bz2 echo "::add-path::`echo $HOME/msp430-gcc-*_linux64/bin`" - + + # ESP IDF + git clone https://github.com/espressif/esp-idf.git $HOME/esp-idf + cd $HOME/esp-idf + ./install.sh + - name: Checkout TinyUSB uses: actions/checkout@v2 @@ -54,5 +62,7 @@ jobs: git submodule update --init --recursive - name: Build - run: python3 tools/build_all.py ${{ matrix.example }} + run: | + . $HOME/esp-idf/export.sh + python3 tools/build_all.py ${{ matrix.example }} diff --git a/.github/workflows/esp32s2.yml b/.github/workflows/esp32s2.yml deleted file mode 100644 index a3f30c8f8..000000000 --- a/.github/workflows/esp32s2.yml +++ /dev/null @@ -1,38 +0,0 @@ -name: Build ESP32-S2 - -on: [pull_request, push, repository_dispatch] - -jobs: - build: - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - example: ['cdc_msc_freertos'] - - steps: - - name: Setup Python - uses: actions/setup-python@v1 - - - name: Install ESP-IDF - run: | - git clone https://github.com/espressif/esp-idf.git $HOME/esp-idf - cd $HOME/esp-idf - ./install.sh - #echo "::add-path::`echo $HOME/msp430-gcc-*_linux64/bin`" - - - name: Checkout TinyUSB - uses: actions/checkout@v2 - -# - name: Checkout Submodules -# run: | -# git submodule sync --recursive -# git submodule update --init --recursive - - - name: Build - run: | - . $HOME/esp-idf/export.sh - cd examples/device/cdc_msc_freertos - idf.py build - #python3 tools/build_all.py ${{ matrix.example }} - diff --git a/examples/rules.mk b/examples/rules.mk index 55c70af4b..92204cf72 100644 --- a/examples/rules.mk +++ b/examples/rules.mk @@ -1,6 +1,25 @@ -# -# Common make definition for all examples -# +# --------------------------------------- +# Common make rules for all examples +# --------------------------------------- + +ifeq ($(CROSS_COMPILE),xtensa-esp32-elf-) +# Espressif IDF use CMake build system, this add wrapper target to call idf.py + +.PHONY: all clean flash +.DEFAULT_GOAL := all + +all: + idf.py -B$(BUILD) -DBOARD=$(BOARD) build + +clean: + idf.py clean + +flash: + @:$(call check_defined, SERIAL, example: SERIAL=/dev/ttyUSB0) + idf.py -p $(SERIAL) flash + +else +# GNU Make build system # libc LIBS += -lgcc -lm -lnosys @@ -28,8 +47,9 @@ SRC_C += \ # TinyUSB stack include INC += $(TOP)/src -# CFLAGS += $(addprefix -I,$(INC)) + +# TODO Skip nanolib for MSP430 ifeq ($(BOARD), msp_exp430f5529lp) LDFLAGS += $(CFLAGS) -fshort-enums -Wl,-T,$(TOP)/$(LD_FILE) -Wl,-Map=$@.map -Wl,-cref -Wl,-gc-sections else @@ -135,3 +155,5 @@ flash-jlink: $(BUILD)/$(BOARD)-firmware.hex # flash STM32 MCU using stlink with STM32 Cube Programmer CLI flash-stlink: $(BUILD)/$(BOARD)-firmware.elf STM32_Programmer_CLI --connect port=swd --write $< --go + +endif # Make target diff --git a/tools/build_all.py b/tools/build_all.py index c95f88b79..a5e29a4ae 100644 --- a/tools/build_all.py +++ b/tools/build_all.py @@ -27,8 +27,7 @@ if len(sys.argv) > 2: all_boards.append(sys.argv[2]) else: for entry in os.scandir("hw/bsp"): - # Skip board without board.mk e.g esp32s2 - if entry.is_dir() and os.path.exists(entry.path + "/board.mk"): + if entry.is_dir(): all_boards.append(entry.name) all_boards.sort() @@ -40,7 +39,8 @@ def build_example(example, board): stdout=subprocess.PIPE, stderr=subprocess.STDOUT) def build_size(example, board): - elf_file = 'examples/device/{}/_build/build-{}/{}-firmware.elf'.format(example, board, board) + #elf_file = 'examples/device/{}/_build/build-{}/{}-firmware.elf'.format(example, board, board) + elf_file = 'examples/device/{}/_build/build-{}/*.elf'.format(example, board) size_output = subprocess.run('size {}'.format(elf_file), shell=True, stdout=subprocess.PIPE).stdout.decode("utf-8") size_list = size_output.split('\n')[1].split('\t') flash_size = int(size_list[0]) @@ -50,10 +50,18 @@ def build_size(example, board): def skip_example(example, board): ex_dir = 'examples/device/' + example board_mk = 'hw/bsp/{}/board.mk'.format(board) - for skip_file in glob.iglob(ex_dir + '/.skip.MCU_*'): - mcu_cflag = '-DCFG_TUSB_MCU=OPT_' + os.path.basename(skip_file).split('.')[2] - with open(board_mk) as mk: - if mcu_cflag in mk.read(): + + with open(board_mk) as mk: + mk_contents = mk.read() + + # Skip ESP32-S2 board if example is not FreeRTOS one + if 'freertos' not in example and 'CROSS_COMPILE = xtensa-esp32-elf-' in mk_contents: + return 1 + + # Skip if CFG_TUSB_MCU in board.mk to match skip file + for skip_file in glob.iglob(ex_dir + '/.skip.MCU_*'): + mcu_cflag = '-DCFG_TUSB_MCU=OPT_' + os.path.basename(skip_file).split('.')[2] + if mcu_cflag in mk_contents: return 1 return 0 -- cgit v1.3.1 From cfb2ef1cffff98a1ad33d52a391cfa52b086d612 Mon Sep 17 00:00:00 2001 From: hathach Date: Mon, 6 Apr 2020 19:43:47 +0700 Subject: move setup nodes before cache msp430 --- .github/workflows/build.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to '.github') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 55bde832c..1f4ae5ae1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,7 +30,10 @@ jobs: steps: - name: Setup Python uses: actions/setup-python@v1 - + + - name: Setup Node.js + uses: actions/setup-node@v1.1.0 + - name: Cache MSP430 Toolchain id: cache-msp430 uses: actions/cache@v1 @@ -38,10 +41,7 @@ jobs: path: /tmp/dl/ # Increment serial number at end when updating downloads key: msp430-${{ runner.os }}-0 - - - name: Setup Node.js - uses: actions/setup-node@v1.1.0 - + - name: Install Toolchains run: | # ARM & RISC-V GCC from xpack -- cgit v1.3.1 From 9d26666c9177653be431b02f5262405ee39f3f59 Mon Sep 17 00:00:00 2001 From: hathach Date: Mon, 6 Apr 2020 20:35:52 +0700 Subject: update ci setup-node / setup-ruby --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.github') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1f4ae5ae1..8840d369b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Setup Ruby - uses: actions/setup-ruby@v1.0.0 + uses: actions/setup-ruby@v1 - name: Checkout TinyUSB uses: actions/checkout@v2 @@ -32,7 +32,7 @@ jobs: uses: actions/setup-python@v1 - name: Setup Node.js - uses: actions/setup-node@v1.1.0 + uses: actions/setup-node@v1 - name: Cache MSP430 Toolchain id: cache-msp430 -- cgit v1.3.1 From c64db32b82715f7bd1e8a42e5658822741dab99b Mon Sep 17 00:00:00 2001 From: hathach Date: Mon, 6 Apr 2020 22:23:24 +0700 Subject: ci test --- .github/workflows/build_esp32s.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/build_esp32s.yml (limited to '.github') diff --git a/.github/workflows/build_esp32s.yml b/.github/workflows/build_esp32s.yml new file mode 100644 index 000000000..102e22c60 --- /dev/null +++ b/.github/workflows/build_esp32s.yml @@ -0,0 +1,34 @@ +name: Build ESP32S + +on: [pull_request, push, repository_dispatch] + +jobs: + build: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + example: ['cdc_msc_freertos'] + + steps: + - name: Setup Python + uses: actions/setup-python@v1 + + - name: Install Toolchains + run: | + # ESP IDF + git clone --depth 1 https://github.com/espressif/esp-idf.git $HOME/esp-idf + cd $HOME/esp-idf + ./install.sh + + - name: Checkout TinyUSB + uses: actions/checkout@v2 + with: + # Cannot do submodule checkout here since LWIP's git server cannot checkout unadventised commits (it must use tags) + submodules: 'false' + + - name: Build + run: | + . $HOME/esp-idf/export.sh + python3 tools/build_all.py ${{ matrix.example }} + -- cgit v1.3.1 From 19f767317f9f19490e032cbc22de30f16f645e99 Mon Sep 17 00:00:00 2001 From: hathach Date: Mon, 6 Apr 2020 23:33:09 +0700 Subject: more ci --- .github/workflows/build_esp32s.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github') diff --git a/.github/workflows/build_esp32s.yml b/.github/workflows/build_esp32s.yml index 102e22c60..71155073f 100644 --- a/.github/workflows/build_esp32s.yml +++ b/.github/workflows/build_esp32s.yml @@ -30,5 +30,5 @@ jobs: - name: Build run: | . $HOME/esp-idf/export.sh - python3 tools/build_all.py ${{ matrix.example }} + python3 tools/build_all.py ${{ matrix.example }} esp32s2_saola -- cgit v1.3.1 From f073a5ecd37a705fae89400a50ff24fa985c895a Mon Sep 17 00:00:00 2001 From: hathach Date: Tue, 7 Apr 2020 11:15:59 +0700 Subject: CI: seperate esp32s2 into different job skip esp32s in build_all.py script --- .github/workflows/build.yml | 30 +++++++++++++++++++++++++----- .github/workflows/build_esp32s.yml | 34 ---------------------------------- tools/build_all.py | 4 ++-- 3 files changed, 27 insertions(+), 41 deletions(-) delete mode 100644 .github/workflows/build_esp32s.yml (limited to '.github') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8840d369b..c96664488 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,6 +3,7 @@ name: Build on: [pull_request, push, repository_dispatch] jobs: + # Unit testing with Ceedling unit-test: runs-on: ubuntu-latest steps: @@ -19,6 +20,7 @@ jobs: cd test ceedling test:all + # Build most of the ports build: runs-on: ubuntu-latest strategy: @@ -57,11 +59,6 @@ jobs: tar -C $HOME -xaf /tmp/dl/msp430-gcc.tar.bz2 echo "::add-path::`echo $HOME/msp430-gcc-*_linux64/bin`" - # ESP IDF - git clone --depth 1 https://github.com/espressif/esp-idf.git $HOME/esp-idf - cd $HOME/esp-idf - ./install.sh - - name: Checkout TinyUSB uses: actions/checkout@v2 with: @@ -80,3 +77,26 @@ jobs: . $HOME/esp-idf/export.sh python3 tools/build_all.py ${{ matrix.example }} + # Build ESP32S + build-esp32s: + runs-on: ubuntu-latest + steps: + - name: Setup Python + uses: actions/setup-python@v1 + + - name: Install Toolchains + run: | + git clone --depth 1 https://github.com/espressif/esp-idf.git $HOME/esp-idf + cd $HOME/esp-idf + ./install.sh + + - name: Checkout TinyUSB + uses: actions/checkout@v2 + with: + submodules: 'false' + + - name: Build + run: | + . $HOME/esp-idf/export.sh + cd examples/device/cdc_msc_freertos + idf.py build diff --git a/.github/workflows/build_esp32s.yml b/.github/workflows/build_esp32s.yml deleted file mode 100644 index 71155073f..000000000 --- a/.github/workflows/build_esp32s.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: Build ESP32S - -on: [pull_request, push, repository_dispatch] - -jobs: - build: - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - example: ['cdc_msc_freertos'] - - steps: - - name: Setup Python - uses: actions/setup-python@v1 - - - name: Install Toolchains - run: | - # ESP IDF - git clone --depth 1 https://github.com/espressif/esp-idf.git $HOME/esp-idf - cd $HOME/esp-idf - ./install.sh - - - name: Checkout TinyUSB - uses: actions/checkout@v2 - with: - # Cannot do submodule checkout here since LWIP's git server cannot checkout unadventised commits (it must use tags) - submodules: 'false' - - - name: Build - run: | - . $HOME/esp-idf/export.sh - python3 tools/build_all.py ${{ matrix.example }} esp32s2_saola - diff --git a/tools/build_all.py b/tools/build_all.py index ba918425a..c78192d63 100644 --- a/tools/build_all.py +++ b/tools/build_all.py @@ -57,8 +57,8 @@ def skip_example(example, board): with open(board_mk) as mk: mk_contents = mk.read() - # Skip ESP32-S2 board if example is not FreeRTOS one - if 'freertos' not in example and 'CROSS_COMPILE = xtensa-esp32s2-elf-' in mk_contents: + # Skip all ESP32-S2 board for CI + if 'CROSS_COMPILE = xtensa-esp32s2-elf-' in mk_contents: return 1 # Skip if CFG_TUSB_MCU in board.mk to match skip file -- cgit v1.3.1 From f44440df5d27f8a8f64e53b3c8892f73585c2323 Mon Sep 17 00:00:00 2001 From: hathach Date: Tue, 7 Apr 2020 11:21:34 +0700 Subject: ci again --- .github/workflows/build.yml | 1 - 1 file changed, 1 deletion(-) (limited to '.github') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c96664488..584ee1d70 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -74,7 +74,6 @@ jobs: - name: Build run: | - . $HOME/esp-idf/export.sh python3 tools/build_all.py ${{ matrix.example }} # Build ESP32S -- cgit v1.3.1 From 353aa8081495e0a5ccf970513bbcff495dc5f71d Mon Sep 17 00:00:00 2001 From: hathach Date: Tue, 7 Apr 2020 16:49:17 +0700 Subject: add ci build_esp32s.py --- .github/workflows/build.yml | 5 +-- tools/build_esp32s.py | 100 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 102 insertions(+), 3 deletions(-) create mode 100644 tools/build_esp32s.py (limited to '.github') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 584ee1d70..0174b9cb7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,7 +27,7 @@ jobs: fail-fast: false matrix: example: ['board_test', 'cdc_dual_ports', 'cdc_msc', 'cdc_msc_freertos', 'dfu_rt', - 'hid_composite', 'hid_generic_inout', 'midi_test', 'msc_dual_lun', 'net_lwip_webserver', + 'hid_composite', 'hid_composite_freertos', 'hid_generic_inout', 'midi_test', 'msc_dual_lun', 'net_lwip_webserver', 'usbtmc', 'webusb_serial'] steps: - name: Setup Python @@ -97,5 +97,4 @@ jobs: - name: Build run: | . $HOME/esp-idf/export.sh - cd examples/device/cdc_msc_freertos - idf.py build + python3 tools/build_esp32s.py diff --git a/tools/build_esp32s.py b/tools/build_esp32s.py new file mode 100644 index 000000000..33b122ea6 --- /dev/null +++ b/tools/build_esp32s.py @@ -0,0 +1,100 @@ +import os +import glob +import sys +import subprocess +import time + +success_count = 0 +fail_count = 0 +skip_count = 0 +exit_status = 0 + +total_time = time.monotonic() + +build_format = '| {:23} | {:30} | {:9} | {:7} | {:6} | {:6} |' +build_separator = '-' * 100 + +# 1st Argument is Example, build all examples if not existed +all_examples = [] +if len(sys.argv) > 1: + all_examples.append(sys.argv[1]) +else: + for entry in os.scandir("examples/device"): + # Only includes example with CMakeLists.txt for esp32s + if entry.is_dir() and os.path.exists(entry.path + "/CMakeLists.txt"): + all_examples.append(entry.name) +all_examples.sort() + +# 2nd Argument is Board, build all boards if not existed +all_boards = [] +if len(sys.argv) > 2: + all_boards.append(sys.argv[2]) +else: + for entry in os.scandir("hw/bsp"): + if entry.is_dir(): + with open(entry.path + '/board.mk') as mk: + # Only includes ESP32-S2 board + if 'CROSS_COMPILE = xtensa-esp32s2-elf-' in mk.read(): + all_boards.append(entry.name) + +all_boards.sort() + +def build_example(example, board): + subprocess.run("make -C examples/device/{} BOARD={} clean".format(example, board), shell=True, + stdout=subprocess.PIPE, stderr=subprocess.STDOUT) + return subprocess.run("make -j 4 -C examples/device/{} BOARD={} all".format(example, board), shell=True, + stdout=subprocess.PIPE, stderr=subprocess.STDOUT) + +def build_size(example, board): + #elf_file = 'examples/device/{}/_build/build-{}/{}-firmware.elf'.format(example, board, board) + elf_file = 'examples/device/{}/_build/build-{}/*.elf'.format(example, board) + size_output = subprocess.run('size {}'.format(elf_file), shell=True, stdout=subprocess.PIPE).stdout.decode("utf-8") + size_list = size_output.split('\n')[1].split('\t') + flash_size = int(size_list[0]) + sram_size = int(size_list[1]) + int(size_list[2]) + return (flash_size, sram_size) + +def skip_example(example, board): + return 0 + +print(build_separator) +print(build_format.format('Example', 'Board', 'Result', 'Time', 'Flash', 'SRAM')) + +for example in all_examples: + for board in all_boards: + start_time = time.monotonic() + + flash_size = "-" + sram_size = "-" + + # Check if board is skipped + if skip_example(example, board): + success = "\033[33mskipped\033[0m " + skip_count += 1 + print(build_format.format(example, board, success, '-', flash_size, sram_size)) + else: + build_result = build_example(example, board) + + if build_result.returncode == 0: + success = "\033[32msucceeded\033[0m" + success_count += 1 + (flash_size, sram_size) = build_size(example, board) + else: + exit_status = build_result.returncode + success = "\033[31mfailed\033[0m " + fail_count += 1 + + build_duration = time.monotonic() - start_time + print(build_format.format(example, board, success, "{:.2f}s".format(build_duration), flash_size, sram_size)) + + if build_result.returncode != 0: + print(build_result.stdout.decode("utf-8")) + + + +total_time = time.monotonic() - total_time +print(build_separator) +print("Build Sumamary: {} \033[32msucceeded\033[0m, {} \033[31mfailed\033[0m, {} \033[33mskipped\033[0m and took {:.2f}s".format(success_count, fail_count, skip_count, total_time)) +print(build_separator) + +sys.exit(exit_status) -- cgit v1.3.1