mirror of
https://github.com/vmatare/thinkfan.git
synced 2024-09-11 19:47:17 +03:00
26 lines
550 B
YAML
26 lines
550 B
YAML
name: C/C++ CI
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
build-ubuntu:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-20.04, ubuntu-22.04]
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: install-deps
|
|
run: sudo apt install libyaml-cpp-dev libatasmart-dev cmake libsensors4-dev
|
|
- name: build
|
|
run: |
|
|
mkdir build
|
|
cmake -B build
|
|
cmake --build build
|
|
- name: install
|
|
run: sudo cmake --install ${{ github.workspace }}/build
|