WIP: setup Cpp workflow #116

Closed
AramJonghu wants to merge 9 commits from workflow-cpp into main
Showing only changes of commit 1fbe7c328b - Show all commits
+3 -7
View File
@@ -9,14 +9,11 @@ jobs:
container: archlinux:latest
steps:
- name: Bootstrap pacman
- name: Install all packages
run: |
pacman-key --init
pacman-key --populate archlinux
pacman -Syu --noconfirm
- name: Install build tools
run: pacman -S --noconfirm \
pacman -Syu --noconfirm \
base-devel \
cmake \
ninja \
@@ -38,8 +35,7 @@ jobs:
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
sudo -u builduser makepkg -si --noconfirm -p /tmp/libcava/PKGBUILD
- name: Configure
run: cmake -S . -B build -G Ninja