feat:1.9.10, 更新版本 #140
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
name: Make Build and Test | |
on: | |
push: | |
branches: [ master, develop ] | |
pull_request: | |
branches: [ master, develop ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup | |
run: | | |
sudo apt update | |
sudo apt install build-essential | |
sudo apt install libgtest-dev libgmock-dev | |
sudo apt install libmosquitto-dev | |
sudo apt install libdbus-1-dev | |
- uses: actions/checkout@v3 | |
- name: Build | |
run: make | |
- name: Test | |
run: find .build -name test -exec {} \; |