Added Rpi action
This commit is contained in:
parent
32cef2699d
commit
39948f6130
1 changed files with 24 additions and 0 deletions
24
.github/workflows/main.yml
vendored
24
.github/workflows/main.yml
vendored
|
@ -171,3 +171,27 @@ jobs:
|
|||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
rpi-build:
|
||||
runs-on: [self-hosted, ARM64]
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y pigpio cmake
|
||||
|
||||
- name: Install the library
|
||||
run: |
|
||||
cd $PWD
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ..
|
||||
sudo make install
|
||||
|
||||
- name: Build the example
|
||||
run: |
|
||||
cd $PWD/examples/NonArduino/RaspberryPi
|
||||
./build.sh
|
||||
|
|
Loading…
Add table
Reference in a new issue