Skip to content

Commit

Permalink
try with "sudo bash -c"
Browse files Browse the repository at this point in the history
  • Loading branch information
2bndy5 committed Apr 11, 2021
1 parent fb62fbd commit ea855d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- "--soc=BCM2836 --driver=RPi"
# - "--soc=BCM2835 --driver=wiringPi --extra-cflags=-I/usr/local/include"
- "--driver=SPIDEV"
# - "--driver=MRAA"
- "--driver=MRAA"

steps:
- uses: actions/checkout@v1
Expand All @@ -42,7 +42,7 @@ jobs:
cd build
cmake .. -DBUILDSWIGNODE=OFF
sudo make install
echo "/usr/local/lib/arm-linux-gnueabihf" >> /etc/ld.so.conf
sudo bash -c 'echo "/usr/local/lib/arm-linux-gnueabihf" >> /etc/ld.so.conf'
sudo ldconfig
- name: library configure
run: ./configure ${{ matrix.config-options }}
Expand Down

0 comments on commit ea855d7

Please sign in to comment.