Skip to content

Commit

Permalink
test pigpio install
Browse files Browse the repository at this point in the history
  • Loading branch information
atticusrussell committed Jun 20, 2023
1 parent 4500068 commit 5f15764
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions .github/workflows/ci-industrial.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,31 @@ jobs:
base_image: https://cdimage.ubuntu.com/releases/22.04.2/release/ubuntu-22.04.2-preinstalled-server-arm64+raspi.img.xz
cpu: cortex-a7
cpu_info: cpuinfo/raspberrypi_zero2_w_arm64


commands: |
cat /etc/os-release
uname -a
ls -la
grep Model /proc/cpuinfo
- name: Install pigpio library on the emulated Pi and check it
run: |
grep Model /proc/cpuinfo
pwd
ls -la
echo "CURRENT_DIR=$(pwd)" >> $GITHUB_ENV
Cd ~
wget https://github.com/joan2937/pigpio/archive/master.zip
unzip master.zip
cd pigpio-master
make
sudo make install
sudo ./x_pigpio
sudo pigpiod
./x_pigpiod_if2
./x_pigs
./x_pipe
# jobs:
Expand Down

0 comments on commit 5f15764

Please sign in to comment.