git-subtree-dir: clipmenu git-subtree-split: e0ec3bc6608ecc70ed17e8da76e27bf90b1e8e90
28 lines
614 B
YAML
28 lines
614 B
YAML
jobs:
|
|
build_and_test:
|
|
name: CI
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- run: sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
|
|
- run: sudo apt-get update
|
|
|
|
- uses: awalsh128/cache-apt-pkgs-action@v1
|
|
with:
|
|
packages: gcc-10 clang clang-format clang-tidy cppcheck xvfb xsel libxfixes-dev libx11-dev
|
|
version: 1.0
|
|
|
|
- run: gcc --version
|
|
|
|
- run: make clean analyse
|
|
- run: make tests
|
|
- run: make integration_tests
|
|
env:
|
|
NO_PID_NAMESPACE: 1
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
workflow_dispatch:
|