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

90 lines
2.7 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/tumbleweed
options: --tmpfs /build:rw --user 0:0
steps:
- name: "prepare env"
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
- 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 }}