From e836e3ef4b7a9f968e5d69622704f2ee3b58955f Mon Sep 17 00:00:00 2001 From: ahiuchingau <20424172+ahiuchingau@users.noreply.github.com> Date: Mon, 8 Jan 2024 15:55:46 -0500 Subject: [PATCH] add head target --- .github/workflows/head.yaml | 37 +++---------------------------------- 1 file changed, 3 insertions(+), 34 deletions(-) diff --git a/.github/workflows/head.yaml b/.github/workflows/head.yaml index 1986d5287..056bbf672 100644 --- a/.github/workflows/head.yaml +++ b/.github/workflows/head.yaml @@ -85,38 +85,7 @@ jobs: fetch-depth: 0 path: ot3-firmware - - name: Checkout opentrons repository - uses: actions/checkout@v3 + - name: Host Compile Setup + uses: actions/host-compile-setup/action with: - repository: "Opentrons/opentrons" - path: opentrons - - - name: Cache stm32-tools - uses: "actions/cache@v3" - with: - path: "./stm32-tools" - key: ${{ runner.os }}-${{ hashFiles('**/cmake/*') }}-${{ secrets.CACHE_VERSION }} - - - name: "Configure" - run: cmake --preset=host-gcc10 . - working-directory: ot3-firmware - - - name: 'Build and test' - run: cmake --build ./build-host --target head-build-and-test - working-directory: ot3-firmware - - - name: 'Setup state_manager' - run: cmake --build ./build-host/ --target state-manager-setup - working-directory: ot3-firmware - - - name: 'Build simulator' - run: cmake --build ./build-host --target head-simulator - working-directory: ot3-firmware - - - name: 'Upload artifacts' - if: github.event_name != 'pull_request' - uses: actions/upload-artifact@v3 - with: - name: "head-simulator-${{github.ref_name}}" - path: | - build-host/head/simulator/head-simulator + target: 'head'