Skip to content

Added GitHub action build #1

Added GitHub action build

Added GitHub action build #1

Workflow file for this run

name: Build
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
config:
- name: "Raspberry Pi 4"
defconfig: traintastic_cs_rpi4_defconfig
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Configure
working-directory: ${{github.workspace}}/buildroot
run: make BR2_EXTERNAL=../traintastic-cs ${{matrix.config.defconfig}}
- name: Build image
working-directory: ${{github.workspace}}/buildroot
run: make all