calamares/.github/workflows/ci.yml

77 lines
2.1 KiB
YAML
Raw Normal View History

name: ci
on:
push:
workflow_dispatch:
#schedule:
# - cron: '30 * * * *'
env:
BUILDDIR: /build
SRCDIR: /src
2021-01-25 00:51:09 +01:00
CMAKE_ARGS: |
-DCMAKE_BUILD_TYPE=Release
-DWEBVIEW_FORCE_WEBKIT=1
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
-DWITH_PYTHONQT=OFF"
jobs:
build:
runs-on: ubuntu-latest
container:
image: docker://kdeneon/plasma:user
2021-01-25 00:51:09 +01:00
options: --tmpfs /build:rw,size=512M --user 0:0
steps:
-
name: prepare
run: |
sudo apt-get update
sudo apt-get -y install git-core
-
name: checkout
uses: actions/checkout@v2
-
name: install dependencies
run: |
sudo 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 \
os-prober \
pkg-config \
python3-dev \
qtbase5-dev \
qtdeclarative5-dev \
qttools5-dev \
qttools5-dev-tools
-
name: config
run: |
2021-01-25 00:51:09 +01:00
test -n "$BUILDDIR" || { echo "! \$BUILDDIR not set" ; exit 1 ; }
test -n "$SRCDIR" || { echo "! \$SRCDIR not set" ; exit 1 ; }
mkdir -p $SRCDIR $BUILDDIR
test -f $SRCDIR/CMakeLists.txt || { echo "! Missing $SRCDIR/CMakeLists.txt" ; exit 1 ; }
test -n "$COVERITY_SCAN_TOKEN" || { echo "! Missing Coverity token" ; exit 1 ; }
-
name: continuous
run: |
test -x "ci/ci-continuous.sh" || { echo "! Missing ci-continuous.sh" ; exit 1 ; }
exec "ci/ci-continuous.sh"
2021-01-25 00:51:09 +01:00
# irc notification to chat.freenode.net#calamares