iwyu.yml: actually disable archlinux step [skip ci] (#5287)
I accidentally left this own when I rolled back a previous attempt to implement the conditional checks.
This commit is contained in:
parent
faf8047050
commit
da6c39e971
|
@ -10,6 +10,10 @@ permissions:
|
||||||
jobs:
|
jobs:
|
||||||
iwyu:
|
iwyu:
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
image: ["fedora:latest"] # "debian:unstable" / "archlinux:latest"
|
||||||
|
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
|
|
||||||
container:
|
container:
|
||||||
|
@ -20,7 +24,7 @@ jobs:
|
||||||
|
|
||||||
# TODO: the necessary packages are excessive - mostly because of Qt - use a pre-built image
|
# TODO: the necessary packages are excessive - mostly because of Qt - use a pre-built image
|
||||||
- name: Install missing software on debian/ubuntu
|
- name: Install missing software on debian/ubuntu
|
||||||
if: false
|
if: contains(matrix.image, 'debian')
|
||||||
run: |
|
run: |
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y cmake g++ make libpcre3-dev
|
apt-get install -y cmake g++ make libpcre3-dev
|
||||||
|
@ -29,12 +33,13 @@ jobs:
|
||||||
ln -s ../x86_64-linux-gnu/qt5 /usr/include/qt
|
ln -s ../x86_64-linux-gnu/qt5 /usr/include/qt
|
||||||
|
|
||||||
- name: Install missing software on archlinux
|
- name: Install missing software on archlinux
|
||||||
|
if: contains(matrix.image, 'archlinux')
|
||||||
run: |
|
run: |
|
||||||
set -x
|
set -x
|
||||||
pacman -Sy
|
pacman -Sy
|
||||||
pacman -S cmake make gcc qt5-base qt5-tools qt5-charts pcre wget --noconfirm
|
pacman -S cmake make gcc qt5-base qt5-tools qt5-charts pcre wget --noconfirm
|
||||||
pacman-key --init
|
pacman-key --init
|
||||||
pacman-key --recv-key 3056513887B78AEB --keyserver keyserver.ubuntu.com
|
pacman-key --recv-key 3056513887B78AEB --keyserver keyserver.ubuntu.com
|
||||||
pacman-key --lsign-key 3056513887B78AEB
|
pacman-key --lsign-key 3056513887B78AEB
|
||||||
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
|
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
|
||||||
echo "[chaotic-aur]" >> /etc/pacman.conf
|
echo "[chaotic-aur]" >> /etc/pacman.conf
|
||||||
|
@ -45,6 +50,7 @@ jobs:
|
||||||
|
|
||||||
# TODO: the necessary packages are excessive - mostly because of Qt - use a pre-built image
|
# TODO: the necessary packages are excessive - mostly because of Qt - use a pre-built image
|
||||||
- name: Install missing software on Fedora
|
- name: Install missing software on Fedora
|
||||||
|
if: contains(matrix.image, 'fedora')
|
||||||
run: |
|
run: |
|
||||||
dnf install -y cmake gcc-c++ qt5-qtbase-devel qt5-linguist qt5-qttools-devel qt5-qtcharts-devel pcre-devel
|
dnf install -y cmake gcc-c++ qt5-qtbase-devel qt5-linguist qt5-qttools-devel qt5-qtcharts-devel pcre-devel
|
||||||
dnf install -y wget iwyu
|
dnf install -y wget iwyu
|
||||||
|
|
Loading…
Reference in New Issue