27 lines
465 B
YAML
27 lines
465 B
YAML
name: Build
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- "**"
|
|
pull_request:
|
|
branches:
|
|
- "**"
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
build:
|
|
name: build
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
- name: Install clang
|
|
run: apt-get update && apt-get install -y clang
|
|
- name: Mandatory
|
|
run: CC=clang TERM=xterm make
|
|
- name: Bonus
|
|
run: CC=clang TERM=xterm make bonus
|