2021-02-16 14:25:10 +01:00
|
|
|
name: nightly-opensuse
|
2021-02-02 12:52:12 +01:00
|
|
|
|
|
|
|
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:
|
2022-06-07 12:31:02 +02:00
|
|
|
image: docker://opensuse/tumbleweed
|
2021-02-02 12:52:12 +01:00
|
|
|
options: --tmpfs /build:rw --user 0:0
|
|
|
|
steps:
|
|
|
|
- name: "prepare env"
|
2022-06-19 12:34:12 +02:00
|
|
|
shell: bash
|
|
|
|
run: |
|
|
|
|
zypper --non-interactive up
|
|
|
|
zypper --non-interactive in git-core jq curl
|
|
|
|
# From deploycala.py
|
|
|
|
zypper --non-interactive in \
|
|
|
|
"autoconf" \
|
|
|
|
"automake" \
|
|
|
|
"bison" \
|
|
|
|
"flex" \
|
|
|
|
"git" \
|
|
|
|
"libtool" \
|
|
|
|
"m4" \
|
|
|
|
"make" \
|
|
|
|
"cmake" \
|
|
|
|
"extra-cmake-modules" \
|
|
|
|
"gcc-c++"
|
|
|
|
zypper --non-interactive in \
|
|
|
|
"libqt5-qtbase-devel" \
|
|
|
|
"libqt5-linguist-devel" \
|
|
|
|
"libqt5-qtsvg-devel" \
|
|
|
|
"libqt5-qtdeclarative-devel" \
|
|
|
|
"libqt5-qtwebengine-devel" \
|
|
|
|
"yaml-cpp-devel" \
|
|
|
|
"libpolkit-qt5-1-devel" \
|
|
|
|
"libpwquality-devel" \
|
|
|
|
"parted-devel" \
|
|
|
|
"python-devel" \
|
|
|
|
"libboost_headers-devel" \
|
|
|
|
"libboost_python3-devel"
|
|
|
|
zypper --non-interactive in \
|
|
|
|
"kdbusaddons-devel" \
|
|
|
|
"kservice-devel" \
|
|
|
|
"kpackage-devel" \
|
|
|
|
"kparts-devel" \
|
|
|
|
"kcrash-devel" \
|
|
|
|
"kpmcore-devel" \
|
|
|
|
"plasma5-workspace-devel" \
|
|
|
|
"plasma-framework-devel" \
|
|
|
|
# Additional dependencies
|
|
|
|
zypper --non-interactive in \
|
|
|
|
libicu-devel \
|
|
|
|
libAppStreamQt-devel \
|
|
|
|
libatasmart-devel
|
2021-02-02 12:52:12 +01:00
|
|
|
- name: "prepare source"
|
2022-04-17 13:24:59 +02:00
|
|
|
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
|
2021-02-02 12:52:12 +01:00
|
|
|
- name: "notify: ok"
|
|
|
|
if: ${{ success() && github.repository == 'calamares/calamares' }}
|
2022-04-16 21:53:17 +02:00
|
|
|
uses: calamares/actions/matrix-notify@v4
|
2021-02-02 12:52:12 +01:00
|
|
|
with:
|
2021-05-25 16:27:12 +02:00
|
|
|
token: ${{ secrets.MATRIX_TOKEN }}
|
|
|
|
room: ${{ secrets.MATRIX_ROOM }}
|
2021-06-08 11:50:09 +02:00
|
|
|
message: |
|
2022-04-25 15:28:35 +02:00
|
|
|
OK ${{ github.workflow }} in ${{ github.repository }} ${{ steps.build.outputs.git-summary }}
|
2021-02-02 12:52:12 +01:00
|
|
|
- name: "notify: fail"
|
|
|
|
if: ${{ failure() && github.repository == 'calamares/calamares' }}
|
2022-04-16 21:53:17 +02:00
|
|
|
uses: calamares/actions/matrix-notify@v4
|
2021-02-02 12:52:12 +01:00
|
|
|
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 }}
|