Skip to content

Test new workflows

Test new workflows #28

Workflow file for this run

name: linux-build
on:
pull_request:
branches:
- main
paths:
- '*/*.c'
- '*/*.h'
- '*.cmake'
- '*/*.cmake'
- 'CMakeLists.txt'
- '*/CMakeLists.txt'
- 'Config.cmake.in'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: lukka/get-cmake@latest
- name: Delete non-library files
run: |
rm -rf samples/
rm -rf tests/
- name: Build with Clang and Ninja Generator
run: |
make clang-deb
make install
- name: Build with GCC and Makefile Generator
run: |
make clean
make gcc-deb
make install