mirror of
https://github.com/Keyitdev/asus-fan-control-ec.git
synced 2026-09-24 02:32:08 +00:00
22 lines
465 B
YAML
22 lines
465 B
YAML
name: build
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- 'v*'
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
cc: [gcc, clang]
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Build
|
|
run: make CC=${{ matrix.cc }} CFLAGS="-O2 -Wall -Wextra -Werror -std=c11"
|
|
- name: Smoke test
|
|
run: ./asus-fan-control-ec help
|
|
- name: Staged install
|
|
run: make install DESTDIR=/tmp/pkg PREFIX=/usr && find /tmp/pkg -type f
|