Files
z-bar-qt/.gitea/workflows/build-cpp.yml
T
AramJonghu 1fbe7c328b
Lint & Format (JS/TS) / lint-format (pull_request) Successful in 19s
Python / lint-format (pull_request) Successful in 40s
Python / test (pull_request) Successful in 1m31s
Lint & Format (C++) / lint-format (pull_request) Failing after 1m39s
Lint & Format (Rust) / lint-format (pull_request) Successful in 2m1s
Build (C++) / build-zshell (pull_request) Failing after 2m26s
update command in later step
2026-06-01 22:09:23 +02:00

45 lines
1.3 KiB
YAML

name: Build (C++)
on:
pull_request:
jobs:
build-zshell:
runs-on: alpine
container: archlinux:latest
steps:
- name: Install all packages
run: |
pacman-key --init
pacman-key --populate archlinux
pacman -Syu --noconfirm \
base-devel \
cmake \
ninja \
pkgconf \
sudo \
git \
qt6-base \
qt6-declarative \
qt6-shadertools \
pipewire \
libqalculate \
glib2 \
aubio \
cava
- name: Install libcava (AUR)
run: |
useradd -m builduser
passwd -d builduser
echo 'builduser ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
sudo -u builduser git clone https://aur.archlinux.org/libcava.git /tmp/libcava
sudo -u builduser makepkg -si --noconfirm -p /tmp/libcava/PKGBUILD
- name: Configure
run: cmake -S . -B build -G Ninja
- name: Build ZShell
run: cmake --build build --target ZShell