Skip to content

fixed yost Dockerfile and docker compose file #1492

fixed yost Dockerfile and docker compose file

fixed yost Dockerfile and docker compose file #1492

Workflow file for this run

name: Build node_fw
on: [pull_request, push, workflow_dispatch]
jobs:
pre_job:
runs-on: ubuntu-latest
outputs:
should_skip: ${{ steps.skip_check.outputs.should_skip }}
steps:
- id: skip_check
uses: fkirc/skip-duplicate-actions@v5.3.0
build:
needs: pre_job
if: ${{ needs.pre_job.outputs.should_skip != 'true' }}
runs-on: ubuntu-22.04
container:
image: dmezh/igvc-nodefw-builder
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Cache .pio
id: cache-pio-build-dir
uses: actions/cache@v3
with:
path: dbw/node_fw/.pio
key: pio_cache
- name: Run setup
run: ./setup.sh
- name: Build CAN network
run: . .venv/bin/activate && scons dbc
- name: Build firmware
run: . .venv/bin/activate && make dbw/node_fw
- name: Upload CAN network
uses: actions/upload-artifact@v3
with:
name: can-dbc
path: build/can/igvc_can.dbc
- name: Upload OpenCAN Codegen Artifacts
uses: actions/upload-artifact@v3
with:
name: opencan-codegen-files
path: dbw/node_fw/.pio/build/opencan_generated/*
- name: Upload firmware binaries
uses: actions/upload-artifact@v3
with:
name: node_fw-bin
path: dbw/node_fw/.pio/build/*/firmware.bin