Skip to content

Commit 11476fa

Browse files
Pavel ŠiškaPavel Šiška
authored andcommitted
Github-actions: add composite install dependencies action
1 parent 149fe28 commit 11476fa

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: 'Install Dependencies'
2+
description: 'Install required dependencies in container'
3+
4+
inputs:
5+
clang-tools:
6+
description: 'Install clang & clang-tools-extra'
7+
required: false
8+
default: false
9+
10+
runs:
11+
using: 'composite'
12+
steps:
13+
- name: Install build dependencies
14+
shell: bash
15+
run: |
16+
dnf install -y make gcc-c++ cmake3 git rpm-build fuse3-devel
17+
- name: Install clang tools
18+
if: ${{ inputs.clang-tools == 'true' }}
19+
shell: bash
20+
run: |
21+
dnf install -y clang clang-tools-extra

0 commit comments

Comments
 (0)