CI: massage neon to use an in-repo shell script as well
This commit is contained in:
parent
472c07008e
commit
63b7ecb97e
35
.github/workflows/nightly-neon.sh
vendored
Executable file
35
.github/workflows/nightly-neon.sh
vendored
Executable file
@ -0,0 +1,35 @@
|
||||
#! /bin/sh
|
||||
#
|
||||
# Install dependencies for the nightly-neon build
|
||||
#
|
||||
apt-get update
|
||||
apt-get -y install git-core jq
|
||||
apt-get -y install \
|
||||
build-essential \
|
||||
cmake \
|
||||
extra-cmake-modules \
|
||||
gettext \
|
||||
kio-dev \
|
||||
libatasmart-dev \
|
||||
libboost-python-dev \
|
||||
libkf5config-dev \
|
||||
libkf5coreaddons-dev \
|
||||
libkf5i18n-dev \
|
||||
libkf5iconthemes-dev \
|
||||
libkf5parts-dev \
|
||||
libkf5service-dev \
|
||||
libkf5solid-dev \
|
||||
libkpmcore-dev \
|
||||
libparted-dev \
|
||||
libpolkit-qt5-1-dev \
|
||||
libqt5svg5-dev \
|
||||
libqt5webkit5-dev \
|
||||
libyaml-cpp-dev \
|
||||
ninja-build \
|
||||
os-prober \
|
||||
pkg-config \
|
||||
python3-dev \
|
||||
qtbase5-dev \
|
||||
qtdeclarative5-dev \
|
||||
qttools5-dev \
|
||||
qttools5-dev-tools
|
22
.github/workflows/nightly-neon.yml
vendored
22
.github/workflows/nightly-neon.yml
vendored
@ -19,29 +19,15 @@ jobs:
|
||||
image: docker://kdeneon/plasma:user
|
||||
options: --tmpfs /build:rw --user 0:0
|
||||
steps:
|
||||
- name: "prepare env"
|
||||
uses: calamares/actions/prepare-neon@v4
|
||||
- name: "prepare source"
|
||||
uses: calamares/actions/generic-checkout@v4
|
||||
- name: "install dependencies"
|
||||
shell: bash
|
||||
run: |
|
||||
./github/workflows/nightly-neon.sh
|
||||
- name: "build"
|
||||
id: build
|
||||
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 }}
|
||||
- name: "Calamares: archive"
|
||||
working-directory: ${{ env.BUILDDIR }}
|
||||
run: |
|
||||
|
Loading…
Reference in New Issue
Block a user