From e8529032095dc1fafcb5d24fb79083b6e0533444 Mon Sep 17 00:00:00 2001 From: Attila Kovacs Date: Thu, 1 Feb 2024 21:33:17 +0100 Subject: [PATCH] More Github workflow fixes --- .github/workflows/build.yml | 13 ++++++++++++- .github/workflows/check.yml | 11 ++++++++++- .github/workflows/dox.yml | 2 ++ .github/workflows/test.yml | 15 ++++++++++++++- 4 files changed, 38 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 57bb5f0a..a3ba3c78 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,6 +1,16 @@ name: Build -on: [push, pull_request ] +on: + push: + paths: + - 'src/**' + - 'include/**' + - 'tools/src/**' + - 'Makefile' + - '*.mk' + - '.github/workflows/build.yml' + + pull_request: paths: - 'src/**' - 'include/**' @@ -10,6 +20,7 @@ on: [push, pull_request ] - '.github/workflows/build.yml' jobs: + build: name: Build libraries diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 6b8f8bc1..655b3eea 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -1,6 +1,15 @@ name: cppcheck -on: [push, pull_request ] +on: + push: + paths: + - 'src/**' + - 'include/**' + - 'Makefile' + - '*.mk' + - '.github/workflows/check.yml' + + pull_request: paths: - 'src/**' - 'include/**' diff --git a/.github/workflows/dox.yml b/.github/workflows/dox.yml index f74397dc..cc393394 100644 --- a/.github/workflows/dox.yml +++ b/.github/workflows/dox.yml @@ -17,6 +17,8 @@ on: - 'Doxyfile' - '.github/workflows/dox.yml' +jobs: + apidocs: name: Update API documentation diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3e0e2780..f0c8112c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,6 +1,17 @@ name: Test -on: [push, pull_request ] +on: + push: + paths: + - 'src/**' + - 'include/**' + - 'test/src/**' + - 'test/reference/**' + - 'Makefile' + - '*.mk' + - '.github/workflows/test.yml' + + pull_request: paths: - 'src/**' - 'include/**' @@ -10,7 +21,9 @@ on: [push, pull_request ] - '*.mk' - '.github/workflows/test.yml' + jobs: + test: name: Test and coverage