2021-02-16 12:45:34 +01:00
|
|
|
name: ci-push
|
2021-01-22 22:15:49 +01:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2021-01-25 01:56:54 +01:00
|
|
|
branches:
|
|
|
|
- calamares
|
2022-06-07 12:33:02 +02:00
|
|
|
- 3.2.x-stable
|
2021-01-25 01:56:54 +01:00
|
|
|
pull_request:
|
|
|
|
types:
|
|
|
|
- opened
|
|
|
|
- reopened
|
|
|
|
- synchronize
|
2021-01-22 22:15:49 +01:00
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
env:
|
|
|
|
BUILDDIR: /build
|
2021-01-25 01:56:54 +01:00
|
|
|
SRCDIR: ${{ github.workspace }}
|
2021-01-25 00:51:09 +01:00
|
|
|
CMAKE_ARGS: |
|
|
|
|
-DWEBVIEW_FORCE_WEBKIT=1
|
|
|
|
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
|
2023-09-11 20:46:55 +02:00
|
|
|
-DWITH_PYTHONQT=OFF
|
2021-01-25 01:56:54 +01:00
|
|
|
-DCMAKE_BUILD_TYPE=Debug
|
2021-01-22 22:15:49 +01:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
container:
|
|
|
|
image: docker://kdeneon/plasma:user
|
2021-01-25 15:54:40 +01:00
|
|
|
options: --tmpfs /build:rw --user 0:0
|
2021-01-22 22:15:49 +01:00
|
|
|
steps:
|
2021-02-01 17:09:50 +01:00
|
|
|
- name: "prepare source"
|
2023-09-28 21:50:35 +02:00
|
|
|
uses: calamares/actions/generic-checkout@v5
|
2023-09-11 20:46:55 +02:00
|
|
|
- name: "install dependencies"
|
|
|
|
shell: bash
|
|
|
|
run: |
|
2023-09-28 21:56:56 +02:00
|
|
|
./ci/deps-neon.sh
|
2021-05-28 17:04:54 +02:00
|
|
|
- name: "build"
|
|
|
|
id: build
|
2022-04-16 21:53:17 +02:00
|
|
|
uses: calamares/actions/generic-build@v4
|
2021-02-01 14:25:02 +01:00
|
|
|
- name: "notify: ok"
|
2021-02-01 23:14:06 +01:00
|
|
|
if: ${{ success() && github.repository == 'calamares/calamares' }}
|
2022-04-16 21:53:17 +02:00
|
|
|
uses: calamares/actions/matrix-notify@v4
|
2021-05-25 14:39:09 +02:00
|
|
|
with:
|
2021-05-25 15:47:44 +02:00
|
|
|
token: ${{ secrets.MATRIX_TOKEN }}
|
|
|
|
room: ${{ secrets.MATRIX_ROOM }}
|
|
|
|
message: |
|
2021-05-25 14:39:09 +02:00
|
|
|
OK ${{ github.workflow }} in ${{ github.repository }} by ${{ github.actor }} on ${{ github.event.ref }}
|
2021-05-28 17:04:54 +02:00
|
|
|
.. ${{ steps.build.outputs.git-summary }}
|
2021-02-01 14:25:02 +01:00
|
|
|
- name: "notify: fail"
|
2021-02-01 23:14:06 +01:00
|
|
|
if: ${{ failure() && github.repository == 'calamares/calamares' }}
|
2022-04-16 21:53:17 +02:00
|
|
|
uses: calamares/actions/matrix-notify@v4
|
2021-05-25 14:39:09 +02:00
|
|
|
with:
|
2021-05-25 15:47:44 +02:00
|
|
|
token: ${{ secrets.MATRIX_TOKEN }}
|
|
|
|
room: ${{ secrets.MATRIX_ROOM }}
|
|
|
|
message: |
|
2021-05-25 14:39:09 +02:00
|
|
|
FAIL ${{ github.workflow }} in ${{ github.repository }} by ${{ github.actor }} on ${{ github.event.ref }}
|
2021-05-28 17:04:54 +02:00
|
|
|
.. ${{ steps.build.outputs.git-summary }}
|
2021-05-25 14:39:09 +02:00
|
|
|
.. ${{ github.event.compare }}
|