You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

29 lines
499 B

  1. name: Build
  2. on:
  3. pull_request:
  4. push:
  5. branches:
  6. - master
  7. jobs:
  8. test:
  9. runs-on: ubuntu-latest
  10. steps:
  11. - uses: actions/checkout@v2
  12. - name: Install dependencies
  13. run: |
  14. sudo apt-get install -y cmake
  15. - name: Configure
  16. run: |
  17. cmake -S . -B build-wiringpi
  18. - name: Build
  19. run: |
  20. cmake --build build-wiringpi
  21. - name: Install
  22. run: |
  23. sudo cmake --install build-wiringpi --prefix /usr