File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,10 @@ permissions:
1010jobs :
1111 iwyu :
1212
13+ strategy :
14+ matrix :
15+ image : ["fedora:latest"] # "debian:unstable" / "archlinux:latest"
16+
1317 runs-on : ubuntu-22.04
1418
1519 container :
2024
2125 # TODO: the necessary packages are excessive - mostly because of Qt - use a pre-built image
2226 - name : Install missing software on debian/ubuntu
23- if : false
27+ if : contains(matrix.image, 'debian')
2428 run : |
2529 apt-get update
2630 apt-get install -y cmake g++ make libpcre3-dev
@@ -29,12 +33,13 @@ jobs:
2933 ln -s ../x86_64-linux-gnu/qt5 /usr/include/qt
3034
3135 - name : Install missing software on archlinux
36+ if : contains(matrix.image, 'archlinux')
3237 run : |
3338 set -x
3439 pacman -Sy
3540 pacman -S cmake make gcc qt5-base qt5-tools qt5-charts pcre wget --noconfirm
3641 pacman-key --init
37- pacman-key --recv-key 3056513887B78AEB --keyserver keyserver.ubuntu.com
42+ pacman-key --recv-key 3056513887B78AEB --keyserver keyserver.ubuntu.com
3843 pacman-key --lsign-key 3056513887B78AEB
3944 pacman -U 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-keyring.pkg.tar.zst' 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-mirrorlist.pkg.tar.zst' --noconfirm
4045 echo "[chaotic-aur]" >> /etc/pacman.conf
4550
4651 # TODO: the necessary packages are excessive - mostly because of Qt - use a pre-built image
4752 - name : Install missing software on Fedora
53+ if : contains(matrix.image, 'fedora')
4854 run : |
4955 dnf install -y cmake gcc-c++ qt5-qtbase-devel qt5-linguist qt5-qttools-devel qt5-qtcharts-devel pcre-devel
5056 dnf install -y wget iwyu
You can’t perform that action at this time.
0 commit comments