euchre-live

Euchre web-app for the socially distant family
git clone git://git.alexkarle.com/euchre-live.git
Log | Files | Refs | README | LICENSE

commit e7ec4f06cd169a9c36838fc94937cfa482b9e45d (patch)
parent 9fa2da57b64f3fba2b14ac9a3dd9fc839e3993f2
Author: Alex Karle <alex@alexkarle.com>
Date:   Sun,  2 May 2021 15:24:01 -0400

ci: Update sr.ht build to use OBSD packages over cpanminus

Since the esbuild migration removed the need for
Mojolicious::Plugin::Webpack, all of the cpan modules we need to run
euchre-live are packaged by OpenBSD! This means we can drop the cpanm
step, which shaves 2min off of our 2.5m build time (down to 30s).

Tested via the web UI :)

Diffstat:
M.build.yml | 10+++-------
1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/.build.yml b/.build.yml @@ -2,14 +2,10 @@ image: openbsd/latest sources: - https://git.sr.ht/~akarle/euchre-live -environment: - PERL5LIB: /home/build/perl5/lib/perl5 +packages: + - p5-Mojolicious + - p5-Class-Tiny tasks: - - setup: | - ftp -o - https://cpanmin.us > cpanm - chmod +x cpanm - cd euchre-live - ../cpanm --installdeps . - test: | cd euchre-live make test