Update main.yml #16
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: aur builder | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
container-test-job: | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/akac97/archlinux-builder:main | |
steps: | |
- name: whoami | |
run: whoami | |
- name: enable multi-core compilation | |
run: sudo sh -c 'echo "MAKEFLAGS=\"-j$(nproc)\"" >> /etc/makepkg.conf' | |
- name: install deps | |
run: sudo pacman -S git git-lfs --noconfirm | |
- name: deps | |
run: sudo pacman -S gtk3 hicolor-icon-theme libgl libvpx libwebp openal sdl2 xorg-xmessage vulkan-driver vulkan-icd-loader --noconfirm | |
- name: build | |
run: | | |
cd /home/builder | |
git clone https://aur.archlinux.org/zmusic.git | |
cd zmusic | |
makepkg -si --noconfirm | |
ls | |
git clone https://aur.archlinux.org/gzdoom.git | |
cd gzdoom | |
makepkg --syncdeps --noconfirm | |
ls |