Files
z-bar-qt/.gitea/workflows/build-cpp.yml
T
AramJonghu 6c09c0412a
Lint & Format (JS/TS) / lint-format (pull_request) Successful in 19s
Build (C++) / build-zshell (pull_request) Failing after 25s
Python / lint-format (pull_request) Successful in 28s
Python / test (pull_request) Successful in 1m5s
Lint & Format (C++) / lint-format (pull_request) Failing after 1m9s
Lint & Format (Rust) / lint-format (pull_request) Successful in 1m12s
removal node, fully unnecessary
2026-06-01 22:07:47 +02:00

49 lines
1.4 KiB
YAML

name: Build (C++)
on:
pull_request:
jobs:
build-zshell:
runs-on: alpine
container: archlinux:latest
steps:
- name: Bootstrap pacman
run: |
pacman-key --init
pacman-key --populate archlinux
pacman -Syu --noconfirm
- name: Install build tools
run: pacman -S --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
cd /tmp/libcava
sudo -u builduser makepkg -si --noconfirm
- name: Configure
run: cmake -S . -B build -G Ninja
- name: Build ZShell
run: cmake --build build --target ZShell