RASCSI/.github/workflows/c-cpp.yml

33 lines
770 B
YAML
Raw Normal View History

2020-08-06 13:54:53 +00:00
name: C/C++ CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install cross compile toolchain
run: sudo apt-get install gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf binutils-arm-linux-gnueabihf
2020-08-06 13:54:53 +00:00
- uses: actions/checkout@v2
- name: make
2020-08-06 17:31:50 +00:00
run: make all DEBUG=1
2020-08-06 13:58:27 +00:00
working-directory: ./src/raspberrypi
2020-08-06 20:49:39 +00:00
# buildroot-image:
# runs-on: ubuntu-latest
# steps:
# - name: git-fetch buildroot
# run: git clone git://git.busybox.net/buildroot
# - name: make defconfig
# run: make raspberrypi4_defconfig
# working-directory: ./buildroot
# - name: make
# run: make all
# working-directory: ./buildroot