From 1ac154a99617872f8f542854899b6706640148e1 Mon Sep 17 00:00:00 2001 From: maxgerhardt <maximilian.gerhardt@rub.de> Date: Sun, 5 Mar 2023 13:38:48 +0100 Subject: [PATCH] Display size too --- .github/workflows/build.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4d960f7..6182792 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,11 +10,13 @@ jobs: - name: Install Dependencies run: sudo apt-get update && sudo apt-get install -y build-essential make libnewlib-dev gcc-riscv64-unknown-elf libusb-1.0-0-dev - name: Build Blink Example - run: cd examples/blink && make V=1 -j3 blink.elf && cd ../.. + run: cd examples/blink && make V=1 -j3 blink.elf && riscv64-unknown-elf-size blink.elf && cd ../.. + - name: Build sandbox Example + run: cd examples/sandbox && make V=1 -j3 sandbox.elf && riscv64-unknown-elf-size sandbox.elf && cd ../.. - name: Build fulldemo Example - run: cd examples/fulldemo && make V=1 -j3 fulldemo.elf && cd ../.. + run: cd examples/fulldemo && make V=1 -j3 fulldemo.elf && riscv64-unknown-elf-size fulldemo.elf && cd ../.. - name: Build ws2812 Example - run: cd examples/ws2812demo && make V=1 -j3 ws2812bdemo.elf && cd ../.. + run: cd examples/ws2812demo && make V=1 -j3 ws2812bdemo.elf && riscv64-unknown-elf-size ws2812bdemo.elf && cd ../.. pio-build: strategy: fail-fast: false -- GitLab