mirror of
https://github.com/thewesker/RASCSI.git
synced 2025-12-24 06:11:09 -05:00
40 lines
1.0 KiB
YAML
40 lines
1.0 KiB
YAML
name: C/C++ CI
|
|
|
|
on: [push, pull_request]
|
|
|
|
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
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: make standard
|
|
run: make all DEBUG=1 CONNECT_TYPE=STANDARD
|
|
working-directory: ./src/raspberrypi
|
|
|
|
- name: make fullspec
|
|
run: make all DEBUG=1 CONNECT_TYPE=FULLSPEC
|
|
working-directory: ./src/raspberrypi
|
|
|
|
- name: Archive production artifacts
|
|
uses: actions/upload-artifact@v2
|
|
with:
|
|
name: executable-binaries
|
|
path: ./src/raspberrypi/bin
|
|
|
|
# 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
|