From 30f36fc2656790954ecd48aacb49234071348da5 Mon Sep 17 00:00:00 2001 From: Aire-One Date: Mon, 18 Sep 2023 14:00:18 +0200 Subject: [PATCH] ci: fix test and build dependencies install --- .woodpecker/build.yml | 4 ---- .woodpecker/test.yml | 4 ---- justfile | 5 ++++- 3 files changed, 4 insertions(+), 9 deletions(-) diff --git a/.woodpecker/build.yml b/.woodpecker/build.yml index 2621add..1bf3db0 100644 --- a/.woodpecker/build.yml +++ b/.woodpecker/build.yml @@ -2,10 +2,6 @@ variables: - &cyan gitea.aireone.xyz/aire-one/awesomewm.d.tl/cyan:latest pipeline: - prepare: - image: *cyan - commands: - - luarocks install --only-deps awesomewmdtl-dev-1.rockspec build: image: *cyan commands: diff --git a/.woodpecker/test.yml b/.woodpecker/test.yml index b5e1947..cc2eb1b 100644 --- a/.woodpecker/test.yml +++ b/.woodpecker/test.yml @@ -2,10 +2,6 @@ variables: - &busted gitea.aireone.xyz/aire-one/awesomewm.d.tl/busted-tl_just:latest pipeline: - prepare: - image: *busted - commands: - - luarocks install --only-deps awesomewmdtl-dev-1.rockspec test: image: *busted commands: diff --git a/justfile b/justfile index 3b9bee4..90e8541 100644 --- a/justfile +++ b/justfile @@ -41,7 +41,10 @@ check-rockspecs: check: check-lua check-format check-teal check-rockspecs build: - cyan build + luarocks \ + --lua-version {{ lua_version }} \ + make \ + {{ rockspec_file }} clean: rm -rf build