Parcourir la source
Merge pull request #275 from joggee-fr/jg/build-cmake
Update GitHub build workflow to use CMake
cmake
Manfred Wallner
il y a 1 mois
committed by
GitHub
Parent
révision
80bb9da0e6
Aucune clé connue n'a été trouvée dans la base pour cette signature
ID de la clé GPG: B5690EEEBB952194
1 fichiers modifiés avec
14 ajouts et
2 suppressions
-
.github/workflows/build.yml
|
|
@@ -11,6 +11,18 @@ jobs: |
|
|
|
runs-on: ubuntu-latest |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v2 |
|
|
|
- name: Run build |
|
|
|
- name: Install dependencies |
|
|
|
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 |