deskflow/config.yaml
Nick Bolton 481680d072
Run install_deps.py script when building containers weekly (#7384)
* Don't run CodeQL in PR draft

* Speed up analysis workflows

* Run install deps on Debian

* Add badge to readme

* Fixed copy and use workdir

* Use mount instead of copy

* Fixed unwanted && and changed workdir

* Split deps and deps-full

* Fixed context

* Use /app dir

* Use copy instead

* Revert to --mount and use .py (not .sh)

* Test

* Add `./scripts/install_deps.py` to all platforms

* Add missing syntax

* Fixed Python dep for OpenSUSE

* Temp remove WORKDIR for OpenSUSE

* Re-add workdir

* Increase timeout

* Delete `zypper --non-interactive remove busybox-which`

* Restore python3

* Test

* Rename to `lint-source-code`

* Beef up analysis runners

* Fixed workflow runs-on

* Use deps script

* Try pipx for gcovr

* Use containers with deps

* Add -y arg

* Install curl

* Merge deps step

* Add unzip dep

* Make Git dir safe

* Add .local/bin to env

* Improve step name

* Use `pipx ensurepath`

* Install gcovr with apt

* Use Ubuntu 22 with pip

* Update ChangeLog

* Use 16-core for Windows

* Use choco cache

* Test

* Use 8-core for Windows (picked up quicker, more available?)
2024-07-11 15:26:38 +01:00

103 lines
2.3 KiB
YAML

config:
windows:
dependencies:
command: choco install Chocolatey.config -y
qt:
version: 6.7.2
mirror: https://qt.mirror.constant.com/
install-dir: C:\Qt
modules:
- qt5compat
choco-ci:
edit-config: Chocolatey.config
skip-packages:
- cmake
- visualstudio2022buildtools
mac:
qt-prefix-command: brew --prefix qt@6
dependencies:
command: brew bundle --file=Brewfile
linux:
debian: &debian
dependencies:
command: sudo apt-get update; \
sudo apt-get install -y \
cmake \
make \
g++ \
xorg-dev \
libx11-dev \
libxtst-dev \
libssl-dev \
libglib2.0-dev \
libgdk-pixbuf-2.0-dev \
libnotify-dev \
libxkbfile-dev \
qt6-base-dev \
qt6-tools-dev \
libqt6core5compat6-dev \
libgtk-3-dev \
file
ubuntu:
<<: *debian
fedora: &fedora
dependencies:
command: sudo dnf check-update; \
sudo dnf install -y \
cmake \
make \
gcc-c++ \
openssl-devel \
glib2-devel \
gdk-pixbuf2-devel \
libXtst-devel \
libnotify-devel \
libxkbfile-devel \
qt6-qtbase-devel \
qt6-qttools-devel \
qt6-qt5compat-devel \
gtk3-devel \
rpm-build
opensuse-tumbleweed: &opensuse-tumbleweed
dependencies:
command: sudo zypper refresh; \
sudo zypper install -y --force-resolution \
cmake \
make \
gcc-c++ \
libopenssl-devel \
glib2-devel \
gdk-pixbuf-devel \
libXtst-devel \
libnotify-devel \
libxkbfile-devel \
qt6-base-devel \
qt6-tools-devel \
qt6-qt5compat-devel \
gtk3-devel \
rpm-build
arch: &arch
dependencies:
command: sudo pacman -Syu --noconfirm \
base-devel \
cmake \
gcc \
openssl \
glib2 \
gdk-pixbuf2 \
libxtst \
libnotify \
libxkbfile \
qt6-base \
qt6-tools \
qt6-5compat \
gtk3
manjaro:
<<: *arch