From 94b289e2285b58589c324529462b42daaa193c98 Mon Sep 17 00:00:00 2001 From: ahiuchingau <20424172+ahiuchingau@users.noreply.github.com> Date: Thu, 11 Jan 2024 22:26:06 -0500 Subject: [PATCH] echo --- .../actions/host-compile-setup/action.yaml | 10 +++++++-- .github/workflows/gripper.yaml | 22 ++++++++++--------- 2 files changed, 20 insertions(+), 12 deletions(-) diff --git a/.github/actions/host-compile-setup/action.yaml b/.github/actions/host-compile-setup/action.yaml index 8f8b8c76b..9ed14ed43 100644 --- a/.github/actions/host-compile-setup/action.yaml +++ b/.github/actions/host-compile-setup/action.yaml @@ -15,14 +15,20 @@ runs: with: python-version: "3.10" + - name: Echo context + shell: bash + run: | + echo github context ${{ github }} + echo env context ${{ env }} + - name: Cache stm32 tools - uses: './.github/actions/cache-stm32-tools' + uses: '${{ github.action_path }}/cache-stm32-tools' - name: Check out Opentrons monorepo uses: actions/checkout@v4 with: repository: 'Opentrons/opentrons' - path: ${{ GITHUB_WORKSPACE }}/opentrons + path: opentrons - name: Configure shell: bash diff --git a/.github/workflows/gripper.yaml b/.github/workflows/gripper.yaml index d5917679d..20f156320 100644 --- a/.github/workflows/gripper.yaml +++ b/.github/workflows/gripper.yaml @@ -50,6 +50,7 @@ env: defaults: run: shell: bash + working-directory: ot3-firmware jobs: cross-compile-check: @@ -59,6 +60,8 @@ jobs: steps: - name: Checkout ot3-firmware repository uses: actions/checkout@v4 + with: + path: ot3-firmware - name: Cross-compile setup uses: './.github/actions/cross-compile-setup' @@ -84,17 +87,16 @@ jobs: path: ot3-firmware - name: Host Compile setup - uses: './.github/actions/host-compile-setup' - working-directory: ot3-firmware - - - name: 'Build and test' - run: cmake --build ./build-host --target gripper-build-and-test - - - name: 'Setup state_manager' - run: cmake --build ./build-host/ --target state-manager-setup + uses: './ot3-firmware/.github/actions/host-compile-setup' - - name: 'Build simulator' - run: cmake --build ./build-host --target gripper-simulator +# - name: 'Build and test' +# run: cmake --build ./build-host --target gripper-build-and-test +# +# - name: 'Setup state_manager' +# run: cmake --build ./build-host/ --target state-manager-setup +# +# - name: 'Build simulator' +# run: cmake --build ./build-host --target gripper-simulator # - name: "Upload artifacts" # if: github.event_name != 'pull_request'