-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6b78a9a
commit e19a65e
Showing
3 changed files
with
41 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: ot3-firmware Repo Setup | ||
description: Setup for ot3-firmware Github Actions | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Update and install gcc-10 & g++-10 | ||
shell: bash | ||
run: | | ||
sudo apt update | ||
sudo apt install -y gcc-10 g++-10 | ||
- name: Setup Python | ||
if: ${{ contains(github.workflow, 'host') || contains(github.workflow, 'test')}} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.10 | ||
|
||
- name: Checkout ot3-firmware repository | ||
uses: actions/checkout@v4 | ||
with: | ||
path: ot3-firmware | ||
|
||
- name: Cache STM32 Tools | ||
uses: actions/cache@v3 | ||
id: cache-tools | ||
with: | ||
path: ot3-firmware/stm32-tools | ||
key: ${{ runner.os }}-${{ hashFiles('**/cmake/*') }}-${{ env.CACHE_VERSION }} | ||
|
||
- name: Setup opentrons monorepo | ||
if: ${{ contains(github.workflow, 'host') || contains(github.workflow, 'test')}} | ||
uses: actions/checkout@4 | ||
with: | ||
path: opentrons |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters