Skip to content

Commit

Permalink
reviewed Linux CI (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
2bndy5 committed Mar 18, 2024
1 parent 1322530 commit 7ff5565
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
# ./build

- name: provide pigpio
if: ${{ matrix.config-options == '--driver=pigpio' || endsWith(matrix.config-options, '--driver=RPi') }}
if: ${{ matrix.config-options == '--driver=pigpio' }}
run: |
git clone https://github.com/joan2937/pigpio.git
cd pigpio
Expand All @@ -121,7 +121,11 @@ jobs:
cd mraa
mkdir build
cd build
cmake .. -D BUILDSWIGNODE=OFF -D BUILDARCH=arm
cmake .. \
-D BUILDSWIGNODE=OFF \
-D BUILDARCH=arm \
-D CMAKE_INSTALL_PREFIX=/usr/arm-linux-gnueabihf \
-D CMAKE_TOOLCHAIN_FILE=${{ github.workspace }}/RF24/cmake/toolchains/armhf.cmake
sudo make install
sudo bash -c 'echo "/usr/local/lib/arm-linux-gnueabihf" >> /etc/ld.so.conf'
sudo ldconfig
Expand All @@ -136,7 +140,6 @@ jobs:
run: sudo make install

- name: make linux examples
if: ${{ matrix.config-options != '--soc=BCM2835 --driver=wiringPi' && matrix.config-options != '--driver=MRAA' }}
run: |
cd examples_linux
make
Expand Down

0 comments on commit 7ff5565

Please sign in to comment.