From e7ec4f06cd169a9c36838fc94937cfa482b9e45d Mon Sep 17 00:00:00 2001 From: Alex Karle Date: Sun, 2 May 2021 15:24:01 -0400 Subject: [PATCH] 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 :) --- .build.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.build.yml b/.build.yml index 226d388..6334eda 100644 --- 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 -- libgit2 1.1.1