From 943be789bb7be624a72c312b8f2680115e875d25 Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Wed, 25 Oct 2023 03:14:23 -0400 Subject: [PATCH] task to build openblt tools first --- .github/workflows/build-firmware.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/.github/workflows/build-firmware.yaml b/.github/workflows/build-firmware.yaml index 1e75137826..b696e2995b 100644 --- a/.github/workflows/build-firmware.yaml +++ b/.github/workflows/build-firmware.yaml @@ -12,6 +12,30 @@ on: required: false type: boolean jobs: + build-openblt-tools: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + with: + submodules: true + + - name: cmake configure libopenblt + working-directory: ./firmware/ext/openblt/Host/Source/LibOpenBLT/build + run: cmake .. + + - name: make libopenblt + working-directory: ./firmware/ext/openblt/Host/Source/LibOpenBLT/build + run: make -j8 + + - name: cmake configure BootCommander + working-directory: ./firmware/ext/openblt/Host/Source/BootCommander/build + run: cmake .. + + - name: make BootCommander + working-directory: ./firmware/ext/openblt/Host/Source/BootCommander/build + run: make -j8 + release: runs-on: ubuntu-latest steps: @@ -57,6 +81,7 @@ jobs: build-firmware: runs-on: ubuntu-latest + needs: build-openblt-tools needs: release strategy: