Skip to content

Commit

Permalink
Deployment Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
HTRamsey committed Jan 19, 2025
1 parent 866c5c0 commit 5a1b390
Show file tree
Hide file tree
Showing 34 changed files with 612 additions and 575 deletions.
14 changes: 0 additions & 14 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -1,17 +1,3 @@
---
BasedOnStyle: Google
AccessModifierOffset: -4
AllowShortEnumsOnASingleLine: false
AllowShortFunctionsOnASingleLine: Inline
AllowShortLambdasOnASingleLine: Inline
BinPackArguments: false
BinPackParameters: false
ColumnLimit: 120
IncludeBlocks: Preserve
IndentWidth: 4
Language: Cpp
PackConstructorInitializers: Never
PenaltyBreakAssignment: 80
SortIncludes: true
SpacesBeforeTrailingComments: 1
Standard: c++17
34 changes: 0 additions & 34 deletions .clang-tidy
Original file line number Diff line number Diff line change
@@ -1,39 +1,5 @@
---
Checks: >
clang-diagnostic-*,
clang-analyzer-*,
bugprone-*,
cppcoreguidelines-*,
google-*,
llvm-*,
misc-*,
modernize-*,
performance-*,
portability-*,
readability-*,
-bugprone-easily-swappable-parameters,
-cppcoreguidelines-avoid-c-arrays,
-cppcoreguidelines-avoid-const-or-ref-data-members,
-cppcoreguidelines-avoid-non-const-global-variables,
-cppcoreguidelines-non-private-member-variables-in-classes,
-cppcoreguidelines-pro-type-reinterpret-cast,
-cppcoreguidelines-pro-type-static-cast-downcast,
-cppcoreguidelines-pro-type-vararg,
-cppcoreguidelines-special-member-functions,
-google-readability-todo,
-llvm-header-guard,
-llvm-include-order,
-misc-include-cleaner,
-misc-no-recursion,
-misc-non-private-member-variables-in-classes,
-misc-use-internal-linkage,
-modernize-avoid-c-arrays,
-modernize-use-trailing-return-type,
-readability-convert-member-functions-to-static,
-readability-function-cognitive-complexity,
-readability-identifier-length,
-readability-redundant-access-specifiers,
-readability-uppercase-literal-suffix
WarningsAsErrors: '*'
HeaderFilterRegex: '^((?!vendor).)*$'
...
9 changes: 6 additions & 3 deletions .cmake-format
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
format:
tab_size: 4
line_width: 100
---
line_width: 120
tab_size: 4
max_prefix_chars: 40
use_tabchars: false
...
7 changes: 2 additions & 5 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Ignore Git repository files
.git
.gitignore
.gitattributes

# Ignore node_modules or other build artifacts
node_modules
Expand All @@ -10,8 +11,4 @@ build
Dockerfile*
docker-compose.yml

# Ignore OS-specific files
.DS_Store
*.swp

CMakeLists.txt.user*
README.md
11 changes: 3 additions & 8 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: daily
groups:
github-actions:
patterns:
- '*'
open-pull-requests-limit: 5
interval: "weekly"
20 changes: 20 additions & 0 deletions .github/workflows/clang-format-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: clang-format Check

on: [workflow_dispatch]

jobs:
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
strategy:
matrix:
path:
- 'src'
- 'test'
steps:
- uses: actions/checkout@v4
- name: Run clang-format style check for C++ Source Files.
uses: jidicula/clang-format-action@main
with:
clang-format-version: '17'
check-path: ${{ matrix.path }}
31 changes: 31 additions & 0 deletions .github/workflows/flatpak.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: flatpak
on: [workflow_dispatch]
jobs:
flatpak-builder:
name: Flatpak
runs-on: ubuntu-latest
container:
image: bilelmoussaoui/flatpak-github-actions:gnome-47
options: --privileged
strategy:
matrix:
arch: [x86_64, aarch64]
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: Install deps
if: ${{ matrix.arch != 'x86_64' }}
run: |
dnf -y install docker
- name: Set up QEMU
if: ${{ matrix.arch != 'x86_64' }}
id: qemu
uses: docker/setup-qemu-action@v3
with:
platforms: arm64
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6
with:
bundle: org.mavlink.qgroundcontrol.flatpak
manifest-path: ./deploy/flatpak/org.mavlink.qgroundcontrol.yml
cache-key: flatpak-builder-${{ github.sha }}
arch: ${{ matrix.arch }}
11 changes: 11 additions & 0 deletions .github/workflows/spelling.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Typos
on: [workflow_dispatch]
jobs:
typos:
name: Spell Check with Typos
runs-on: ubuntu-latest
steps:
- name: Checkout Actions Repository
uses: actions/checkout@v4
- name: Check spelling
uses: crate-ci/typos@master
Loading

0 comments on commit 5a1b390

Please sign in to comment.