Browse Source

Merge pull request #275 from joggee-fr/jg/build-cmake

Update GitHub build workflow to use CMake
cmake
Manfred Wallner 1 month ago
committed by GitHub
parent
commit
80bb9da0e6
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 14 additions and 2 deletions
  1. +14
    -2
      .github/workflows/build.yml

+ 14
- 2
.github/workflows/build.yml View File

@@ -11,6 +11,18 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Run build
- name: Install dependencies
run: | run: |
./build
sudo apt-get install -y cmake

- name: Configure
run: |
cmake -S . -B build-wiringpi

- name: Build
run: |
cmake --build build-wiringpi

- name: Install
run: |
sudo cmake --install build-wiringpi --prefix /usr

Loading…
Cancel
Save