File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 4141 - name : Run tests
4242 run : make test
4343
44+ archlinux :
45+ runs-on : ubuntu-latest
46+ container : archlinux:latest
47+ name : " Run tests on ArchLinux"
48+ steps :
49+ - uses : actions/checkout@v4
50+ - name : Install dependencies
51+ run : |
52+ pacman-key --init && \
53+ pacman -Syu --noconfirm && \
54+ pacman -Sy --noconfirm git base base-devel make patch wget && \
55+ useradd -d /home/makepkg makepkg && \
56+ mkdir -p /home/makepkg/{.config/pacman,.gnupg,out} && \
57+ chown -R makepkg:users /home/makepkg && \
58+ sudo -u makepkg /bin/bash -c "cd /home/makepkg && git clone --quiet --depth 1 https://aur.archlinux.org/shunit2.git && cd shunit2/ && makepkg" && \
59+ pacman -U --noconfirm /home/makepkg/shunit2/shunit2-*.pkg.tar.zst
60+ - name : Configure env
61+ run : echo "SHUNIT2=$(command -v shunit2 2>/dev/null)" >> $GITHUB_ENV
62+ - name : Run tests
63+ run : make test
64+
4465 macos :
4566 runs-on : macos-latest
4667 name : " Run tests on macOS"
You can’t perform that action at this time.
0 commit comments