-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
github-actions - add composite install dependencies action
- Loading branch information
1 parent
5155f68
commit bd6899f
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |