Update main.yml #13
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: build | |
run: | | |
cd /home/builder | |
git clone https://aur.archlinux.org/gzdoom.git | |
cd gzdoom | |
makepkg --syncdeps --noconfirm | |
ls |