Skip to content

.github: Add REUSE lint to workflow #47

.github: Add REUSE lint to workflow

.github: Add REUSE lint to workflow #47

Workflow file for this run

# SPDX-License-Identifier: GPL-2.0-only
# SPDX-FileCopyrightText: 2022 Casper Andersson <[email protected]>
name: CI
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
jobs:
build:
name: Build
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Checkout submodules
run: |
git submodule update --init --recursive
- name: Install dependencies
run: |
sudo apt install libelf-dev llvm
- name: Configure
run: |
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=RELEASE ..
- name: Build
run: |
cd build
make -j3
- name: Test
run: |
cd build
make test
lint:
name: REUSE Compliance Check
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: REUSE Lint
uses: fsfe/reuse-action@v2