Skip to content

Commit

Permalink
Build for BCM2836
Browse files Browse the repository at this point in the history
  • Loading branch information
CoRfr committed Jan 26, 2020
1 parent e3ab9e5 commit 6e9254f
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions .github/workflows/build_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: C/C++ CI
on: [push]

jobs:
build-RPi:
build-RPi-BCM2835:
runs-on: ubuntu-latest

steps:
Expand All @@ -21,7 +21,25 @@ jobs:
- name: make
run: sudo make install

build-wiringPi:
build-RPi-BCM2836:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: provide toolchain
run: |
sudo apt-get update && \
sudo apt-get install binutils-arm-linux-gnueabi gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf &&
arm-linux-gnueabihf-gcc -v &&
arm-linux-gnueabihf-g++ -v
- name: configure
run: ./configure --soc=BCM2836 --driver=RPi
- name: make
run: make
- name: make
run: sudo make install

build-wiringPi-BCM2835:
runs-on: ubuntu-latest

steps:
Expand Down

0 comments on commit 6e9254f

Please sign in to comment.