mirror of https://github.com/cutefishos/calamares
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.4 KiB
YAML
46 lines
1.4 KiB
YAML
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 }}"
|