Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion .github/workflows/c.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,22 @@ jobs:
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y libssl-dev libconfig-dev cmake

- name: Install Latest CMake
run: |
wget https://github.com/Kitware/CMake/releases/download/v4.2.0/cmake-4.2.0-linux-x86_64.tar.gz
tar -zxvf cmake-4.2.0-linux-x86_64.tar.gz
sudo cp -r cmake-4.2.0-linux-x86_64/bin/* /usr/local/bin/
sudo cp -r cmake-4.2.0-linux-x86_64/share/* /usr/local/share/
cmake --version

- name: Build and Install pigpio
run: |
cd pigpio
make
sudo make install
sudo ldconfig
cd ..

- name: Create build directory
run: mkdir -p build && cd build

Expand All @@ -32,4 +48,4 @@ jobs:
- name: Build project
run: |
cd build
make
make