WIP: setup Cpp workflow #116

Closed
AramJonghu wants to merge 9 commits from workflow-cpp into main
Showing only changes of commit 6c09c0412a - Show all commits
+13 -6
View File
@@ -9,14 +9,11 @@ jobs:
container: archlinux:latest
steps:
- name: Install node & git
- name: Bootstrap pacman
run: |
pacman-key --init
pacman-key --populate archlinux
pacman -Syu --noconfirm nodejs git
- name: Checkout
uses: actions/checkout@v4
pacman -Syu --noconfirm
- name: Install build tools
run: pacman -S --noconfirm \
@@ -24,16 +21,26 @@ jobs:
cmake \
ninja \
pkgconf \
sudo \
git \
qt6-base \
qt6-declarative \
qt6-shadertools \
qt6-tools \
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