Skip to content

Commit

Permalink
More workflow stuff: install dependency packages
Browse files Browse the repository at this point in the history
  • Loading branch information
attipaci committed Feb 1, 2024
1 parent e852903 commit 1c15a52
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 28 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,7 @@ on:
- '.github/workflows/build.yml'

pull_request:
paths:
- 'src/**'
- 'include/**'
- 'tools/src/**'
- 'Makefile'
- '*.mk'
- '.github/workflows/build.yml'
branches: [ main ]

jobs:

Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,7 @@ on:
- '.github/workflows/check.yml'

pull_request:
paths:
- 'src/**'
- 'include/**'
- 'Makefile'
- '*.mk'
- '.github/workflows/check.yml'
branches: [ main ]

jobs:

Expand All @@ -29,5 +24,8 @@ jobs:

- uses: actions/checkout@v3

- name: install dependencies
run: sudo apt-get install -y cppcheck

- name: Run cppcheck
run: make check
10 changes: 4 additions & 6 deletions .github/workflows/dox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,7 @@ on:
- '.github/workflows/dox.yml'

pull_request:
paths:
- 'src/**'
- 'include/**'
- 'css/**'
- 'Doxyfile'
- '.github/workflows/dox.yml'
branches: [ main ]

jobs:

Expand All @@ -29,6 +24,9 @@ jobs:

- uses: actions/checkout@v3

- name: install dependencies
run: sudo apt-get install -y doxygen

- name: About this workflow...
run: |
echo github.event_name = ${{ github.event_name }}
Expand Down
11 changes: 2 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,8 @@ on:
- '*.mk'
- '.github/workflows/test.yml'

pull_request:
paths:
- 'src/**'
- 'include/**'
- 'test/src/**'
- 'test/reference/**'
- 'Makefile'
- '*.mk'
- '.github/workflows/test.yml'
pull_request:
branches: [ main ]


jobs:
Expand Down

0 comments on commit 1c15a52

Please sign in to comment.