From 7ff55655c9ca0f7047b05dddf8c8358d49a358f4 Mon Sep 17 00:00:00 2001 From: Brendan <2bndy5@gmail.com> Date: Sun, 17 Mar 2024 18:33:45 -0700 Subject: [PATCH] reviewed Linux CI (again) --- .github/workflows/build_linux.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_linux.yml b/.github/workflows/build_linux.yml index 806a934d..f8807274 100644 --- a/.github/workflows/build_linux.yml +++ b/.github/workflows/build_linux.yml @@ -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 @@ -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 @@ -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