calamares/.github/workflows/nightly-opensuse.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

47 lines
1.4 KiB
YAML
Raw Normal View History

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"
2022-04-16 21:53:17 +02:00
uses: calamares/actions/prepare-opensuse@v4
- name: "prepare source"
uses: calamares/actions/generic-checkout@v4
2021-05-28 17:38:30 +02:00
- name: "build"
id: build
2022-04-16 21:53:17 +02:00
uses: calamares/actions/generic-build@v4
- name: "notify: ok"
if: ${{ success() && github.repository == 'calamares/calamares' }}
2022-04-16 21:53:17 +02:00
uses: calamares/actions/matrix-notify@v4
with:
2021-05-25 16:27:12 +02:00
token: ${{ secrets.MATRIX_TOKEN }}
room: ${{ secrets.MATRIX_ROOM }}
message: |
2022-04-25 15:28:35 +02:00
OK ${{ github.workflow }} in ${{ github.repository }} ${{ steps.build.outputs.git-summary }}
- name: "notify: fail"
if: ${{ failure() && github.repository == 'calamares/calamares' }}
2022-04-16 21:53:17 +02:00
uses: calamares/actions/matrix-notify@v4
with:
2021-05-25 16:27:12 +02:00
token: ${{ secrets.MATRIX_TOKEN }}
room: ${{ secrets.MATRIX_ROOM }}
2022-04-25 15:28:35 +02:00
message: |
FAIL ${{ github.workflow }} in ${{ github.repository }} ${{ steps.build.outputs.git-summary }}