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

40 lines
863 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:
- uses: actions/checkout@v2
# - name: configure
# run: ./configure
- 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 13:54:53 +00:00
# - name: make check
# run: make check
# - name: make distcheck
# run: make distcheck
2020-08-06 20:49:39 +00:00
buildroot-image:
runs-on: ubuntu-latest
steps:
2020-08-06 20:52:38 +00:00
- name: git-fetch buildroot
run: git clone git://git.busybox.net/buildroot
# - uses: actions/checkout@v2
# with:
# repository: 'git://git.busybox.net/buildroot'
2020-08-06 20:49:39 +00:00
- name: make defconfig
run: make raspberrypi4_defconfig
2020-08-06 20:52:38 +00:00
working-directory: ./buildroot
2020-08-06 20:49:39 +00:00
- name: make
run: make all
2020-08-06 20:52:38 +00:00
working-directory: ./buildroot