deskflow/deps.yml
Nick Bolton 8f13ce8e7a
Combine GitHub workflows to reduce config duplication (#7352)
* First attempt merging CI test

* Remove older versions of Linux

* Blend Docker containers and GitHub runners

* Test older configure/build method for Windows

* Re-add old Windows workflow

* Use legacy CMake method for more distros

* Rename image to container

* Reduce config dupe

* Fixed logic for configure

* Use newer build command for Windows

* Move full container name back to matrix (yuk)

* Move GIT_COMMIT to common env

* Use more specific Windows runner name

* Fine-grained timeouts for Mac

* Fixed unit test path for Windows

* Rename CI workflow

* Beginning of macOS dist action

* Update ChangeLog

* More triggers for CI workflow

* Attempt to fix test path on Windows

* Move dist-macos action

* Add dir command for testing

* Remove `test-` job prefix

* Bump msbuild action and try modern cmake again

* Composite actions don't support defaults... grr

* Remove dir diag command

* Trying to use Choco again for VS dep

* Don't skip ninja

* Flush stdout

* Add cl to PATH

* Trying out ilammy/msvc-dev-cmd@v1

* Use @v3 checkout for older Linux

* Fixed comment typo

* Remove dead scripts

* Improve env var names

* Run strip from build dir

* Split out deps script to lib files

* Remove stub action

* Remove dist step for now
2024-06-19 17:48:18 +01:00

96 lines
1.9 KiB
YAML

dependencies:
windows:
command: choco install Chocolatey.config -y
qt:
version: 5.15.2
mirror: https://qt.mirror.constant.com/
install-dir: C:\Qt
ci:
skip:
edit-config: Chocolatey.config
packages:
- cmake
- visualstudio2022buildtools
mac:
command: brew bundle --file=Brewfile
linux:
debian: &debian
command: sudo apt-get update && sudo apt-get install -y
packages:
- cmake
- make
- g++
- xorg-dev
- libx11-dev
- libxtst-dev
- libssl-dev
- pkg-config
- libglib2.0-dev
- libgdk-pixbuf-2.0-dev
- libnotify-dev
- libxkbfile-dev
- qtbase5-dev
- qttools5-dev
- libgtk-3-dev
- rpm
ubuntu:
<<: *debian
fedora: &fedora
command: sudo dnf install -y
packages:
- cmake
- make
- gcc-c++
- openssl-devel
- libXtst-devel
- glib2-devel
- gdk-pixbuf2-devel
- libnotify-devel
- qt5-qtbase-devel
- qt5-qttools-devel
- libxkbfile-devel
- gtk3-devel
- rpm-build
centos:
<<: *fedora
command: sudo yum install -y
# Warning: AI generated (untested)
arch:
command: sudo pacman -Syu --noconfirm
packages:
- cmake
- make
- gcc
- libx11
- libxtst
- openssl
- pkg-config
- glib2
- gdk-pixbuf2
- libnotify
- libxkbfile
- qt5-base
- gtk3
- rpm
# Warning: AI generated (untested)
opensuse:
command: sudo zypper install -y
packages:
- cmake
- make
- gcc-c++
- libXtst-devel
- glib2-devel
- gdk-pixbuf-devel
- libnotify-devel
- libxkbfile-devel
- libqt5-qtbase-devel
- gtk3-devel
- rpm-build