Explorar el Código

Update GitHub build workflow to use CMake

pull/275/head
Jonathan GUILLOT hace 2 meses
padre
commit
4899711b3a
Se han modificado 1 ficheros con 14 adiciones y 2 borrados
  1. +14
    -2
      .github/workflows/build.yml

+ 14
- 2
.github/workflows/build.yml Ver fichero

@@ -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

Cargando…
Cancelar
Guardar