calamares/.github/workflows/push.yml

56 lines
1.6 KiB
YAML
Raw Normal View History

name: ci-push
on:
push:
branches:
- calamares
pull_request:
types:
- opened
- reopened
- synchronize
workflow_dispatch:
env:
BUILDDIR: /build
SRCDIR: ${{ github.workspace }}
2021-01-25 00:51:09 +01:00
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:
2021-02-01 13:57:28 +01:00
- name: "prepare env"
uses: calamares/actions/prepare-neon@v3
- name: "prepare source"
uses: actions/checkout@v2
2021-05-28 17:04:54 +02:00
- 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:
2021-05-25 15:47:44 +02:00
token: ${{ secrets.MATRIX_TOKEN }}
room: ${{ secrets.MATRIX_ROOM }}
message: |
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 }}
- name: "notify: fail"
if: ${{ failure() && github.repository == 'calamares/calamares' }}
uses: calamares/actions/matrix-notify@v3
with:
2021-05-25 15:47:44 +02:00
token: ${{ secrets.MATRIX_TOKEN }}
room: ${{ secrets.MATRIX_ROOM }}
message: |
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 }}
.. ${{ github.event.compare }}