CI: migrate opensuse CI to ci/ scripts
This commit is contained in:
parent
aef757cc20
commit
675d17fe59
3
.github/workflows/nightly-opensuse-qt6.yml
vendored
3
.github/workflows/nightly-opensuse-qt6.yml
vendored
@ -27,8 +27,7 @@ jobs:
|
|||||||
uses: calamares/actions/generic-checkout@v5
|
uses: calamares/actions/generic-checkout@v5
|
||||||
- name: "install dependencies"
|
- name: "install dependencies"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: ./ci/deps-opensuse-qt6.sh
|
||||||
./ci/deps-opensuse-qt6.sh
|
|
||||||
- name: "build"
|
- name: "build"
|
||||||
id: build
|
id: build
|
||||||
uses: calamares/actions/generic-build@v4
|
uses: calamares/actions/generic-build@v4
|
||||||
|
63
.github/workflows/nightly-opensuse.yml
vendored
63
.github/workflows/nightly-opensuse.yml
vendored
@ -21,67 +21,12 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: "prepare env"
|
- name: "prepare env"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: zypper --non-interactive in git-core jq curl
|
||||||
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"
|
- name: "prepare source"
|
||||||
uses: calamares/actions/generic-checkout@v5
|
uses: calamares/actions/generic-checkout@v5
|
||||||
|
- name: "install dependencies"
|
||||||
|
shell: bash
|
||||||
|
run: ./ci/deps-opensuse.sh
|
||||||
- name: "build"
|
- name: "build"
|
||||||
id: build
|
id: build
|
||||||
uses: calamares/actions/generic-build@v4
|
uses: calamares/actions/generic-build@v4
|
||||||
- name: "notify: ok"
|
|
||||||
if: ${{ success() && github.repository == 'calamares/calamares' }}
|
|
||||||
uses: calamares/actions/matrix-notify@v4
|
|
||||||
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@v4
|
|
||||||
with:
|
|
||||||
token: ${{ secrets.MATRIX_TOKEN }}
|
|
||||||
room: ${{ secrets.MATRIX_ROOM }}
|
|
||||||
message: |
|
|
||||||
FAIL ${{ github.workflow }} in ${{ github.repository }} ${{ steps.build.outputs.git-summary }}
|
|
||||||
|
42
ci/deps-opensuse.sh
Executable file
42
ci/deps-opensuse.sh
Executable file
@ -0,0 +1,42 @@
|
|||||||
|
#! /bin/sh
|
||||||
|
#
|
||||||
|
# Install dependencies for the nightly-opensuse build
|
||||||
|
#
|
||||||
|
zypper --non-interactive up
|
||||||
|
zypper --non-interactive in git-core jq curl
|
||||||
|
# From deploycala.py
|
||||||
|
zypper --non-interactive in \
|
||||||
|
"bison" \
|
||||||
|
"flex" \
|
||||||
|
"git" \
|
||||||
|
"make" \
|
||||||
|
"cmake" \
|
||||||
|
"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 \
|
||||||
|
"extra-cmake-modules" \
|
||||||
|
"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
|
Loading…
Reference in New Issue
Block a user