diff --git a/.builds/archlinux.yml b/.builds/archlinux.yml new file mode 100644 index 0000000..bcc71fb --- /dev/null +++ b/.builds/archlinux.yml @@ -0,0 +1,31 @@ +--- +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 diff --git a/.builds/openbsd.yml b/.builds/openbsd.yml new file mode 100644 index 0000000..caeffc6 --- /dev/null +++ b/.builds/openbsd.yml @@ -0,0 +1,17 @@ +--- +image: openbsd/latest +packages: + - curl + - ldc +sources: + - "https://git.sr.ht/~jeremy/esv" +tasks: + - build: | + cd esv + ./configure + make + - install: | + doas make -Cesv install + - test: | + # very basic test :) + esv Matthew 5-7 >/dev/null diff --git a/.editorconfig b/.editorconfig index f3bedeb..7615472 100644 --- a/.editorconfig +++ b/.editorconfig @@ -5,6 +5,6 @@ end_of_line = lf indent_style = tab indent_size = 4 -[*.nix] +[*.{nix,yml}] indent_style = space indent_size = 2 \ No newline at end of file