Skip to content

Commit

Permalink
github-actions - add composite install dependencies action
Browse files Browse the repository at this point in the history
  • Loading branch information
SiskaPavel committed Oct 3, 2024
1 parent 5155f68 commit bd6899f
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/actions/install-dependencies/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: 'Install Dependencies'
description: 'Install required dependencies in container'

inputs:
clang-tools:
description: 'Install clang & clang-tools-extra'
required: false
default: false

runs:
using: 'composite'
steps:
- name: Install build dependencies
shell: bash
run: |
dnf install -y make gcc-c++ cmake3 git rpm-build fuse3-devel
- name: Install clang tools
if: ${{ inputs.clang-tools == 'true' }}
shell: bash
run: |
dnf install -y clang clang-tools-extra

0 comments on commit bd6899f

Please sign in to comment.