Merge pull request #76 from 40476/master #56
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
fedora-cmake-build: | |
runs-on: ubuntu-latest | |
container: fedora:latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: install tools and dependencies | |
run: | | |
dnf install -y cmake rpm-build findutils clang-tools-extra 'dnf-command(builddep)' | |
dnf builddep -y mouse_m908.spec | |
- name: build mouse_m908 with cmake | |
run: | | |
cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -Bbuild | |
cmake --build build |