Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Frédéric Metrich <45318189+FredM67@users.noreply.github.com>
  • Loading branch information
FredM67 committed Jun 2, 2024
1 parent 0be5bd1 commit ceb80c0
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,23 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: 'true'
- uses: actions/cache@v3
with:
path: |
~/.cache/pip
~/.platformio/.cache
key: ${{ runner.os }}-pio
- name: Set up Python
uses: actions/setup-python@v4
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install platformio
- name: Install PlatformIO Core
run: |
pip install --upgrade platformio
# It is important to first install the libraries before compiling, since otherwise compilation might fail to find the just-installed libraries
- name: Install platformIO libraries
run: pio lib install
- name: Run PlatformIO
run: platformio run
run: |
pio run --project-dir Mk2_3phase_RFdatalog_temp

0 comments on commit ceb80c0

Please sign in to comment.