forked from CyberOS/cyber-calamares
commit
762d37ebb5
@ -0,0 +1,35 @@ |
||||
# SPDX-FileCopyrightText: no |
||||
# SPDX-License-Identifier: CC0-1.0 |
||||
--- |
||||
BasedOnStyle: WebKit |
||||
|
||||
AlignAfterOpenBracket: Align |
||||
AlignEscapedNewlines: DontAlign |
||||
AllowAllParametersOfDeclarationOnNextLine: "false" |
||||
AllowShortFunctionsOnASingleLine: Inline |
||||
AllowShortIfStatementsOnASingleLine: "false" |
||||
AllowShortLambdasOnASingleLine: All |
||||
AllowShortLoopsOnASingleLine: "false" |
||||
AlwaysBreakAfterReturnType: TopLevelDefinitions |
||||
AlwaysBreakTemplateDeclarations: Yes |
||||
BinPackArguments: "false" |
||||
BinPackParameters: "false" |
||||
BreakBeforeBraces: Allman |
||||
BreakBeforeTernaryOperators: "true" |
||||
BreakConstructorInitializers: BeforeComma |
||||
ColumnLimit: 120 |
||||
Cpp11BracedListStyle: "false" |
||||
FixNamespaceComments: "true" |
||||
IncludeBlocks: Preserve |
||||
IndentWidth: "4" |
||||
MaxEmptyLinesToKeep: "2" |
||||
NamespaceIndentation: None |
||||
PointerAlignment: Left |
||||
ReflowComments: "false" |
||||
SortIncludes: "true" |
||||
SpaceAfterCStyleCast: "false" |
||||
SpacesBeforeTrailingComments: "2" |
||||
SpacesInAngles: "true" |
||||
SpacesInParentheses: "true" |
||||
SpacesInSquareBrackets: "true" |
||||
Standard: Cpp11 |
@ -0,0 +1,32 @@ |
||||
name: issues |
||||
|
||||
on: |
||||
issues: |
||||
types: [opened, reopened, closed] |
||||
|
||||
jobs: |
||||
notify: |
||||
runs-on: ubuntu-latest |
||||
steps: |
||||
- name: "notify: new" |
||||
if: github.event.issue.state == 'open' |
||||
uses: calamares/actions/matrix-notify@v3 |
||||
with: |
||||
token: ${{ secrets.MATRIX_TOKEN }} |
||||
room: ${{ secrets.MATRIX_ROOM }} |
||||
message: "OPENED ${{ github.event.issue.html_url }} by ${{ github.actor }} ${{ github.event.issue.title }}" |
||||
- name: "notify: closed" |
||||
if: github.event.issue.state != 'open' |
||||
uses: calamares/actions/matrix-notify@v3 |
||||
with: |
||||
token: ${{ secrets.MATRIX_TOKEN }} |
||||
room: ${{ secrets.MATRIX_ROOM }} |
||||
message: "CLOSED ${{ github.event.issue.html_url }} by ${{ github.actor }} ${{ github.event.issue.title }}" |
||||
- name: "remove in-progress label" |
||||
if: github.event.issue.state != 'open' |
||||
run: | |
||||
curl -X DELETE \ |
||||
-H 'Accept: application/vnd.github.v3+json' \ |
||||
-H 'Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' \ |
||||
"https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.issue.number }}/labels/hacking%3A%20in-progress" |
||||
|
@ -0,0 +1,44 @@ |
||||
name: nightly-debian-10 |
||||
|
||||
on: |
||||
schedule: |
||||
- cron: "12 23 * * *" |
||||
workflow_dispatch: |
||||
|
||||
env: |
||||
BUILDDIR: /build |
||||
SRCDIR: ${{ github.workspace }} |
||||
CMAKE_ARGS: | |
||||
-DWEBVIEW_FORCE_WEBKIT=1 |
||||
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON |
||||
-DWITH_PYTHONQT=OFF" |
||||
-DCMAKE_BUILD_TYPE=Debug |
||||
|
||||
jobs: |
||||
build: |
||||
runs-on: ubuntu-latest |
||||
container: |
||||
image: docker://debian:10 |
||||
options: --tmpfs /build:rw --user 0:0 |
||||
steps: |
||||
- name: "prepare env" |
||||
uses: calamares/actions/prepare-debian@v3 |
||||
- name: "prepare source" |
||||
uses: actions/checkout@v2 |
||||
- name: "build" |
||||
id: build |
||||
uses: calamares/actions/generic-build@v3 |
||||
- name: "notify: ok" |
||||
if: ${{ success() && github.repository == 'calamares/calamares' }} |
||||
uses: calamares/actions/matrix-notify@v3 |
||||
with: |
||||
token: ${{ secrets.MATRIX_TOKEN }} |
||||
room: ${{ secrets.MATRIX_ROOM }} |
||||
message: "OK ${{ github.workflow }} in ${{ github.repository }} ${{ steps.build.outputs.git-summary }}" |
||||
- name: "notify: fail" |
||||
if: ${{ failure() && github.repository == 'calamares/calamares' }} |
||||
uses: calamares/actions/matrix-notify@v3 |
||||
with: |
||||
token: ${{ secrets.MATRIX_TOKEN }} |
||||
room: ${{ secrets.MATRIX_ROOM }} |
||||
message: "FAIL ${{ github.workflow }} in ${{ github.repository }} ${{ steps.build.outputs.git-summary }}" |
@ -0,0 +1,56 @@ |
||||
name: nightly-neon |
||||
|
||||
on: |
||||
schedule: |
||||
- cron: "52 23 * * *" |
||||
workflow_dispatch: |
||||
|
||||
env: |
||||
BUILDDIR: /build |
||||
SRCDIR: ${{ github.workspace }} |
||||
CMAKE_ARGS: | |
||||
-DWEBVIEW_FORCE_WEBKIT=1 |
||||
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON |
||||
-DWITH_PYTHONQT=OFF" |
||||
-DCMAKE_BUILD_TYPE=Debug |
||||
|
||||
jobs: |
||||
build: |
||||
runs-on: ubuntu-latest |
||||
container: |
||||
image: docker://kdeneon/plasma:user |
||||
options: --tmpfs /build:rw --user 0:0 |
||||
steps: |
||||
- name: "prepare env" |
||||
uses: calamares/actions/prepare-neon@v3 |
||||
- name: "prepare source" |
||||
uses: actions/checkout@v2 |
||||
- name: "build" |
||||
id: build |
||||
uses: calamares/actions/generic-build@v3 |
||||
- name: "Calamares: archive" |
||||
working-directory: ${{ env.BUILDDIR }} |
||||
run: | |
||||
make install DESTDIR=${{ env.BUILDDIR }}/stage |
||||
tar czf calamares.tar.gz stage |
||||
- name: "Calamares: upload" |
||||
uses: actions/upload-artifact@v2 |
||||
with: |
||||
name: calamares-tarball |
||||
path: ${{ env.BUILDDIR }}/calamares.tar.gz |
||||
if-no-files-found: error |
||||
retention-days: 3 |
||||
- name: "notify: ok" |
||||
if: ${{ success() && github.repository == 'calamares/calamares' }} |
||||
uses: calamares/actions/matrix-notify@v3 |
||||
with: |
||||
token: ${{ secrets.MATRIX_TOKEN }} |
||||
room: ${{ secrets.MATRIX_ROOM }} |
||||
message: "OK ${{ github.workflow }} in ${{ github.repository }} ${{ steps.build.outputs.git-summary }}" |
||||
- name: "notify: fail" |
||||
if: ${{ failure() && github.repository == 'calamares/calamares' }} |
||||
uses: calamares/actions/matrix-notify@v3 |
||||
with: |
||||
token: ${{ secrets.MATRIX_TOKEN }} |
||||
room: ${{ secrets.MATRIX_ROOM }} |
||||
message: "FAIL ${{ github.workflow }} in ${{ github.repository }} ${{ steps.build.outputs.git-summary }}" |
@ -0,0 +1,45 @@ |
||||
name: nightly-opensuse |
||||
|
||||
on: |
||||
schedule: |
||||
- cron: "32 23 * * *" |
||||
workflow_dispatch: |
||||
|
||||
env: |
||||
BUILDDIR: /build |
||||
SRCDIR: ${{ github.workspace }} |
||||
CMAKE_ARGS: | |
||||
-DWEBVIEW_FORCE_WEBKIT=1 |
||||
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON |
||||
-DWITH_PYTHONQT=OFF" |
||||
-DCMAKE_BUILD_TYPE=Debug |
||||
|
||||
jobs: |
||||
build: |
||||
runs-on: ubuntu-latest |
||||
container: |
||||
image: docker://opensuse/leap |
||||
options: --tmpfs /build:rw --user 0:0 |
||||
steps: |
||||
- name: "prepare env" |
||||
uses: calamares/actions/prepare-opensuse@v3 |
||||
- name: "prepare source" |
||||
uses: actions/checkout@v2 |
||||
- name: "build" |
||||
id: build |
||||
uses: calamares/actions/generic-build@v3 |
||||
- name: "notify: ok" |
||||
if: ${{ success() && github.repository == 'calamares/calamares' }} |
||||
uses: calamares/actions/matrix-notify@v3 |
||||
with: |
||||
token: ${{ secrets.MATRIX_TOKEN }} |
||||
room: ${{ secrets.MATRIX_ROOM }} |
||||
message: | |
||||
OK ${{ github.workflow }} in ${{ github.repository }} ${{ steps.build.outputs.git-summary }}" |
||||
- name: "notify: fail" |
||||
if: ${{ failure() && github.repository == 'calamares/calamares' }} |
||||
uses: calamares/actions/matrix-notify@v3 |
||||
with: |
||||
token: ${{ secrets.MATRIX_TOKEN }} |
||||
room: ${{ secrets.MATRIX_ROOM }} |
||||
message: "FAIL ${{ github.workflow }} in ${{ github.repository }} ${{ steps.build.outputs.git-summary }}" |
@ -0,0 +1,55 @@ |
||||
name: ci-push |
||||
|
||||
on: |
||||
push: |
||||
branches: |
||||
- calamares |
||||
pull_request: |
||||
types: |
||||
- opened |
||||
- reopened |
||||
- synchronize |
||||
workflow_dispatch: |
||||
|
||||
env: |
||||
BUILDDIR: /build |
||||
SRCDIR: ${{ github.workspace }} |
||||
CMAKE_ARGS: | |
||||
-DWEBVIEW_FORCE_WEBKIT=1 |
||||
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON |
||||
-DWITH_PYTHONQT=OFF" |
||||
-DCMAKE_BUILD_TYPE=Debug |
||||
|
||||
jobs: |
||||
build: |
||||
runs-on: ubuntu-latest |
||||
container: |
||||
image: docker://kdeneon/plasma:user |
||||
options: --tmpfs /build:rw --user 0:0 |
||||
steps: |
||||
- name: "prepare env" |
||||
uses: calamares/actions/prepare-neon@v3 |
||||
- name: "prepare source" |
||||
uses: actions/checkout@v2 |
||||
- name: "build" |
||||
id: build |
||||
uses: calamares/actions/generic-build@v3 |
||||
- name: "notify: ok" |
||||
if: ${{ success() && github.repository == 'calamares/calamares' }} |
||||
uses: calamares/actions/matrix-notify@v3 |
||||
with: |
||||
token: ${{ secrets.MATRIX_TOKEN }} |
||||
room: ${{ secrets.MATRIX_ROOM }} |
||||
message: | |
||||
OK ${{ github.workflow }} in ${{ github.repository }} by ${{ github.actor }} on ${{ github.event.ref }} |
||||
.. ${{ steps.build.outputs.git-summary }} |
||||
- name: "notify: fail" |
||||
if: ${{ failure() && github.repository == 'calamares/calamares' }} |
||||
uses: calamares/actions/matrix-notify@v3 |
||||
with: |
||||
token: ${{ secrets.MATRIX_TOKEN }} |
||||
room: ${{ secrets.MATRIX_ROOM }} |
||||
message: | |
||||
FAIL ${{ github.workflow }} in ${{ github.repository }} by ${{ github.actor }} on ${{ github.event.ref }} |
||||
.. ${{ steps.build.outputs.git-summary }} |
||||
.. ${{ github.event.compare }} |
@ -0,0 +1,15 @@ |
||||
[Desktop Entry] |
||||
Type=Application |
||||
Version=1.0 |
||||
Name=Install System |
||||
GenericName=System Installer |
||||
Keywords=calamares;system;installer; |
||||
TryExec=calamares |
||||
Exec=sh -c "pkexec calamares" |
||||
Comment=Calamares — System Installer |
||||
Icon=calamares |
||||
Terminal=false |
||||
StartupNotify=true |
||||
Categories=Qt;System; |
||||
X-AppStream-Ignore=true |
||||
|