Skip to content

Commit

Permalink
verify pigpio install
Browse files Browse the repository at this point in the history
  • Loading branch information
atticusrussell committed Jun 20, 2023
1 parent 15d443f commit 2526bf1
Showing 1 changed file with 24 additions and 18 deletions.
42 changes: 24 additions & 18 deletions .github/workflows/ci-industrial.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,24 +40,30 @@ jobs:
cd pigpio-master
make
sudo make install
- name: Go back to current directory
- name: Verify pigpio library install
run: |
sudo ./x_pigpio # check C I/F
sudo pigpiod # start daemon
./x_pigpiod_if2 # check C I/F to daemon
./x_pigpio.py # check Python I/F to daemon
./x_pigs # check pigs I/F to daemon
./x_pipe # check pipe I/F to daemon
- name: Go back to prev directory
run: cd $CURRENT_DIR
- uses: actions/checkout@v3 # clone target repository
# - name: Verify pigpio library install
# run: sudo pigpiod -v

- uses: actions/cache@v2 # fetch/store the directory used by ccache before/after the ci run
with:
path: ${{ env.CCACHE_DIR }}
# This configuration will always create a new ccache cache starting off from the previous one (if any).
# In this simple version it will be shared between all builds of the same ROS_REPO and ROS_REPO
# and might need some fine-tuning to match the use case
key: ccache-${{ matrix.ROS_DISTRO }}-${{ matrix.ROS_REPO }}-${{github.run_id}}
restore-keys: |
ccache-${{ matrix.ROS_DISTRO }}-${{ matrix.ROS_REPO }}-
- uses: 'ros-industrial/industrial_ci@master' # run industrial_ci
env: # either pass all entries explicitly
ROS_DISTRO: ${{ matrix.ROS_DISTRO }}
ROS_REPO: ${{ matrix.ROS_REPO }}
# with: # or pass the full matrix as config
# config: ${{toJSON(matrix)}}
# - uses: actions/cache@v2 # fetch/store the directory used by ccache before/after the ci run
# with:
# path: ${{ env.CCACHE_DIR }}
# # This configuration will always create a new ccache cache starting off from the previous one (if any).
# # In this simple version it will be shared between all builds of the same ROS_REPO and ROS_REPO
# # and might need some fine-tuning to match the use case
# key: ccache-${{ matrix.ROS_DISTRO }}-${{ matrix.ROS_REPO }}-${{github.run_id}}
# restore-keys: |
# ccache-${{ matrix.ROS_DISTRO }}-${{ matrix.ROS_REPO }}-
# - uses: 'ros-industrial/industrial_ci@master' # run industrial_ci
# env: # either pass all entries explicitly
# ROS_DISTRO: ${{ matrix.ROS_DISTRO }}
# ROS_REPO: ${{ matrix.ROS_REPO }}
# # with: # or pass the full matrix as config
# # config: ${{toJSON(matrix)}}

0 comments on commit 2526bf1

Please sign in to comment.