From 3c109a5e1585c907e0a981720dafcf507b7b42a1 Mon Sep 17 00:00:00 2001 From: akuker Date: Fri, 28 Aug 2020 10:22:06 -0500 Subject: [PATCH] Updated workflow to archive the generated binaries and build fullspec and standard versions of the app --- .github/workflows/c-cpp.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 9178863..68b4559 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -15,9 +15,20 @@ jobs: - name: Install cross compile toolchain run: sudo apt-get install gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf binutils-arm-linux-gnueabihf - uses: actions/checkout@v2 - - name: make - run: make all DEBUG=1 + + - name: make standard + run: make all DEBUG=1 CONNECT_TYPE=STANDARD working-directory: ./src/raspberrypi + + - name: make fullspec + run: make all DEBUG=1 CONNECT_TYPE=FULLSPEC + working-directory: ./src/raspberrypi + + - name: Archive production artifacts + uses: actions/upload-artifact@v2 + with: + name: executable-binaries + path: ./src/raspberrypi/bin # buildroot-image: # runs-on: ubuntu-latest