From 9af99cec7391b117f26514b4b8ff27296f789d98 Mon Sep 17 00:00:00 2001 From: David Holdeman Date: Fri, 2 Jun 2023 17:55:33 -0500 Subject: [PATCH] Use scripts in workflow and install kicad --- .github/workflows/create-board.yaml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/create-board.yaml b/.github/workflows/create-board.yaml index 58fc800..85d636d 100644 --- a/.github/workflows/create-board.yaml +++ b/.github/workflows/create-board.yaml @@ -1,9 +1,9 @@ -name: Check All +name: Create Board on: [ push, pull_request ] jobs: - build-firmware: + create-board: runs-on: ubuntu-latest steps: @@ -12,6 +12,15 @@ jobs: token: ${{ secrets.MY_REPO_PAT }} submodules: recursive + - name: Install kicad + run: | + sudo add-apt-repository --yes ppa:kicad/kicad-7.0-releases + sudo apt-get install kicad + + - name: Generate Gerber Files + run: | + bash hellen-one/kicad/bin/export.sh hellen88bmw + - name: 1. Build Docker run: | bash hellen-one/bin/step1_build_hellen-one_docker.sh