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'