ci: fix test and build dependencies install

This commit is contained in:
Aire-One 2023-09-18 14:00:18 +02:00
parent 6f6c4eca0d
commit cac7b0a00a
3 changed files with 4 additions and 9 deletions

View File

@ -2,10 +2,6 @@ variables:
- &cyan gitea.aireone.xyz/aire-one/awesomewm.d.tl/cyan:latest - &cyan gitea.aireone.xyz/aire-one/awesomewm.d.tl/cyan:latest
pipeline: pipeline:
prepare:
image: *cyan
commands:
- luarocks install --only-deps awesomewmdtl-dev-1.rockspec
build: build:
image: *cyan image: *cyan
commands: commands:

View File

@ -2,10 +2,6 @@ variables:
- &busted gitea.aireone.xyz/aire-one/awesomewm.d.tl/busted-tl_just:latest - &busted gitea.aireone.xyz/aire-one/awesomewm.d.tl/busted-tl_just:latest
pipeline: pipeline:
prepare:
image: *busted
commands:
- luarocks install --only-deps awesomewmdtl-dev-1.rockspec
test: test:
image: *busted image: *busted
commands: commands:

View File

@ -41,7 +41,10 @@ check-rockspecs:
check: check-lua check-format check-teal check-rockspecs check: check-lua check-format check-teal check-rockspecs
build: build:
cyan build luarocks \
--lua-version {{ lua_version }} \
make \
{{ rockspec_file }}
clean: clean:
rm -rf build rm -rf build