Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ahiuchingau committed Jan 11, 2024
1 parent 019df8c commit 69dff8e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 11 deletions.
6 changes: 5 additions & 1 deletion .github/actions/host-compile-setup/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,8 @@ runs:
uses: actions/checkout@v4
with:
repository: 'Opentrons/opentrons'
path: ../
path: ${{ GITHUB_WORKSPACE }}/opentrons

- name: Configure
shell: bash
run: cmake --preset=host-gcc10 .
22 changes: 12 additions & 10 deletions .github/workflows/gripper.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,16 +74,18 @@ jobs:
name: "Host-Compile/Test"
runs-on: "ubuntu-20.04"
timeout-minutes: 10
defaults:
run:
working-directory: ot3-firmware
steps:
- name: Checkout ot3-firmware repository
uses: actions/checkout@v4
with:
path: ot3-firmware

- name: Host Compile setup
uses: './.github/actions/host-compile-setup'

- name: "Configure"
run: cmake --preset=host-gcc10 .

- name: 'Build and test'
run: cmake --build ./build-host --target gripper-build-and-test

Expand All @@ -93,10 +95,10 @@ jobs:
- name: 'Build simulator'
run: cmake --build ./build-host --target gripper-simulator

- name: "Upload artifacts"
if: github.event_name != 'pull_request'
uses: actions/upload-artifact@v3
with:
name: "gripper-simulator-${{github.ref_name}}"
path: |
build-host/gripper/simulator/gripper-simulator
# - name: "Upload artifacts"
# if: github.event_name != 'pull_request'
# uses: actions/upload-artifact@v3
# with:
# name: "gripper-simulator-${{github.ref_name}}"
# path: |
# build-host/gripper/simulator/gripper-simulator

0 comments on commit 69dff8e

Please sign in to comment.