esv/.builds/archlinux.yml
Jeremy Baxter 4bb8d391fd initialise sourcehut CI
esv is now built and briefly tested on Arch Linux and OpenBSD.
2024-06-26 13:47:48 +12:00

31 lines
618 B
YAML

---
image: archlinux
packages:
- bmake
- dmd
- curl
- ldc
- nix
sources:
- "https://git.sr.ht/~jeremy/esv"
tasks:
- prepare: |
printf 'experimental-features = nix-command flakes\n' \
| sudo tee -a /etc/nix/nix.conf
sudo systemctl start nix-daemon
sudo usermod -aG nix-users build
- build-dmd: |
cd esv
./configure -c dmd
bmake all clean
- build-ldc: |
cd esv
./configure -c ldc2
bmake
- install: |
sudo bmake -Cesv install
- test: |
# very basic test :)
esv Matthew 5-7 >/dev/null
- flake: |
nix build ./esv