parent
b6d343cc93
commit
b99a262893
@ -1,17 +0,0 @@
|
|||||||
---
|
|
||||||
AccessModifierOffset: -4
|
|
||||||
AlignAfterOpenBracket: Align
|
|
||||||
AlignEscapedNewlines: DontAlign
|
|
||||||
AlignTrailingComments: true
|
|
||||||
BreakBeforeBinaryOperators: All
|
|
||||||
BreakBeforeBraces: Custom
|
|
||||||
BraceWrapping:
|
|
||||||
AfterClass: true
|
|
||||||
AfterFunction: true
|
|
||||||
BreakConstructorInitializers: BeforeComma
|
|
||||||
ColumnLimit: 104
|
|
||||||
FixNamespaceComments: true
|
|
||||||
IndentWidth: 4
|
|
||||||
SortIncludes: false
|
|
||||||
|
|
||||||
...
|
|
@ -1,17 +0,0 @@
|
|||||||
# EditorConfig configuration
|
|
||||||
# http://editorconfig.org
|
|
||||||
|
|
||||||
# Top-most EditorConfig file
|
|
||||||
root = true
|
|
||||||
|
|
||||||
# UTF-8 charset, set indent to spaces with width of four,
|
|
||||||
# with no trailing whitespaces and a newline ending every file.
|
|
||||||
[*]
|
|
||||||
charset = utf-8
|
|
||||||
indent_size = 4
|
|
||||||
indent_style = space
|
|
||||||
insert_final_newline = true
|
|
||||||
trim_trailing_whitespace = true
|
|
||||||
|
|
||||||
[*.{html,json,md,yml,sh}]
|
|
||||||
indent_size = 2
|
|
@ -1,8 +0,0 @@
|
|||||||
# See https://help.github.com/en/articles/dealing-with-line-endings
|
|
||||||
|
|
||||||
# Set the default behavior, in case people don't have core.autocrlf set.
|
|
||||||
* text=auto
|
|
||||||
|
|
||||||
# Denote all files that are truly binary and should not be modified.
|
|
||||||
*.png binary
|
|
||||||
*.svgz binary
|
|
@ -1,77 +0,0 @@
|
|||||||
name: Build
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- '*'
|
|
||||||
tags:
|
|
||||||
- '[0-9]*'
|
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- '*'
|
|
||||||
workflow_dispatch:
|
|
||||||
branches:
|
|
||||||
- '*'
|
|
||||||
defaults:
|
|
||||||
run:
|
|
||||||
shell: bash
|
|
||||||
env:
|
|
||||||
build_type: Release
|
|
||||||
jobs:
|
|
||||||
linux:
|
|
||||||
name: Linux
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
config:
|
|
||||||
- { name: "GCC", cc: gcc, cxx: g++ }
|
|
||||||
- { name: "clang", cc: clang, cxx: clang++ }
|
|
||||||
env:
|
|
||||||
cc: ${{ matrix.config.cc }}
|
|
||||||
cxx: ${{ matrix.config.cxx }}
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
submodules: recursive
|
|
||||||
|
|
||||||
- name: Checkout Qtilitools
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
repository: qtilities/qtilitools
|
|
||||||
path: qtilitools
|
|
||||||
|
|
||||||
- name: Update Packages
|
|
||||||
run: sudo apt-get update
|
|
||||||
|
|
||||||
- name: Install Dependencies
|
|
||||||
run: |
|
|
||||||
packages=(
|
|
||||||
qtbase5-dev
|
|
||||||
qttools5-dev
|
|
||||||
pkexec
|
|
||||||
sddm
|
|
||||||
)
|
|
||||||
sudo apt-get install ${packages[@]}
|
|
||||||
|
|
||||||
- name: Build and install Qtilitools
|
|
||||||
working-directory: ${{ github.workspace }}/qtilitools
|
|
||||||
run: |
|
|
||||||
options=(
|
|
||||||
-D CMAKE_INSTALL_PREFIX="/usr"
|
|
||||||
-D CMAKE_BUILD_TYPE=${{ env.build_type }}
|
|
||||||
-B build
|
|
||||||
)
|
|
||||||
cmake ${options[@]}
|
|
||||||
sudo cmake --install build
|
|
||||||
|
|
||||||
- name: Configure
|
|
||||||
run: |
|
|
||||||
options=(
|
|
||||||
-D CMAKE_INSTALL_PREFIX="/usr"
|
|
||||||
-D CMAKE_BUILD_TYPE=${{ env.build_type }}
|
|
||||||
-B build
|
|
||||||
)
|
|
||||||
cmake ${options[@]}
|
|
||||||
|
|
||||||
- name: Build
|
|
||||||
run: cmake --build build --config ${{ env.build_type }}
|
|
@ -1,4 +0,0 @@
|
|||||||
build*/
|
|
||||||
*.user
|
|
||||||
compile_commands.json
|
|
||||||
resources/about.md
|
|
@ -1 +0,0 @@
|
|||||||
debian/patches
|
|
@ -1 +0,0 @@
|
|||||||
series
|
|
@ -1 +0,0 @@
|
|||||||
2
|
|
Loading…
Reference in new issue