ci: woodpecker initial
This commit is contained in:
parent
d95b678a43
commit
5fac5864de
|
@ -0,0 +1,12 @@
|
|||
pipeline:
|
||||
prepare:
|
||||
image: akorn/luarocks:lua5.4-alpine
|
||||
commands:
|
||||
- apk add just gcc musl-dev curl-dev
|
||||
- just install
|
||||
check:
|
||||
image: akorn/luarocks:lua5.4-alpine
|
||||
commands:
|
||||
- apk add just
|
||||
- luarocks install luacheck
|
||||
- just check
|
9
justfile
9
justfile
|
@ -1,15 +1,14 @@
|
|||
lua_version := "5.4"
|
||||
lua_bin := "lua" + lua_version
|
||||
lua := lua_bin + " -l set_paths"
|
||||
|
||||
rocks_tree := "lua_modules"
|
||||
rockspec_file := "rockspecs/awesomewm.d.tl-dev-1.rockspec"
|
||||
|
||||
lua_bin := `command -v lua5.4`
|
||||
lua := lua_bin + " -l set_paths"
|
||||
luarocks := `command -v luarocks`
|
||||
|
||||
lua_targets := `find src/ -iname '*.lua' | xargs` + " " + `ls *.lua | xargs`
|
||||
|
||||
install:
|
||||
{{ luarocks }} \
|
||||
luarocks \
|
||||
--lua-version {{ lua_version }} \
|
||||
install \
|
||||
--tree {{ rocks_tree }} \
|
||||
|
|
Loading…
Reference in New Issue