Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 53 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# AMD Infinity Storage C/C++ clang-format file
#
# For v18 formatting options:
# https://releases.llvm.org/18.1.6/tools/clang/docs/ClangFormatStyleOptions.html

BasedOnStyle: LLVM

AccessModifierOffset: -4

AlignConsecutiveAssignments: Consecutive
AlignConsecutiveDeclarations: Consecutive
AlignConsecutiveMacros: Consecutive

AllowShortFunctionsOnASingleLine: None
AllowShortIfStatementsOnASingleLine: Never

AlwaysBreakAfterReturnType: TopLevelDefinitions

BraceWrapping:
BeforeCatch: true
BeforeElse: true

BreakBeforeBraces: Stroustrup

BreakStringLiterals: true

ColumnLimit: 110

FixNamespaceComments: false

IndentAccessModifiers: false
IndentCaseLabels: true
IndentGotoLabels: false
IndentWidth: 4

NamespaceIndentation: Inner

PointerAlignment: Right

ReflowComments: true

SortIncludes: false

StatementMacros:
- HIPFILE_WARN_FORMAT_NONLITERAL_OFF
- HIPFILE_WARN_FORMAT_NONLITERAL_ON
- HIPFILE_WARN_NO_EXIT_DTOR_OFF
- HIPFILE_WARN_NO_EXIT_DTOR_ON
- HIPFILE_WARN_NO_GLOBAL_CTOR_OFF
- HIPFILE_WARN_NO_GLOBAL_CTOR_ON

TabWidth: 4
UseTab: Never
5 changes: 5 additions & 0 deletions .codespellrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# codespell config file docs:
# https://github.com/codespell-project/codespell#using-a-config-file
[codespell]
check-hidden = true
skip = ./.git
20 changes: 20 additions & 0 deletions .github/workflows/ais_ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: AIS_CI
run-name: Kicks off several AIS CI workflows for various platforms.
on:
pull_request:
types: [opened, synchronize, reopened] # Defaults
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
AIS_CI:
strategy:
fail-fast: false
matrix:
supported_platforms:
- ubuntu
- rocky
- suse
uses: ./.github/workflows/build_ais.yml
with:
platform: ${{matrix.supported_platforms}}
Loading
Loading