1
Fork 0

ci: Only build the library for testing

The docs don't need to be build for that.
This commit is contained in:
Lucas Schwiderski 2022-08-17 15:07:59 +02:00
parent 7e96f344be
commit 45a1c9b711
Signed by: lucas
GPG key ID: AA12679AAA6DF4D8

View file

@ -15,9 +15,7 @@ eval "$(luarocks --lua-version ${LUA_VERSION:-5.1} path)"
luarocks --lua-version ${LUA_VERSION:-5.1} install busted
luarocks --lua-version ${LUA_VERSION:-5.1} install lgi
luarocks --lua-version ${LUA_VERSION:-5.1} install ldoc
luarocks --lua-version ${LUA_VERSION:-5.1} install lua-discount
make -j $(nproc) -C ${SOURCE_DIR:-.} LUA_VERSION=${LUA_VERSION:-5.1} LUA=lua
make -j $(nproc) -C ${SOURCE_DIR:-.} BUILD_DIR=${BUILD_DIR:-./build} LUA_VERSION=${LUA_VERSION:-5.1} LUA=lua build
sudo disable-lua ${LUA_VERSION:-5.1}