1
Fork 0

Compare commits

..

No commits in common. "c8bf8931c84cb00ef349718900042fffcf5f4002" and "b46efff6225e13a1cf4e4059c6f523f57369d6d5" have entirely different histories.

6 changed files with 16 additions and 56 deletions

View file

@ -1,22 +0,0 @@
#!/bin/sh
set -ex
mkdir -p "${BUILD_DIR:-./build}"
CMAKE_ARGS=""
if [ -n "$CI" ]; then
CMAKE_ARGS="-DCI=ON"
fi
sudo enable-lua ${LUA_VERSION:-5.1}
make -j $(nproc) -C ${SOURCE_DIR:-.} BUILD_DIR=${BUILD_DIR:-./build} LUA_VERSION=${LUA_VERSION:-5.1} LUA=lua doc
tar -czf doc.tar.gz -C ${BUILD_DIR:-./build}/doc .
curl -T doc.tar.gz -XPOST --user ${DOCS_CREDENTIALS} https://${DOCS_HOST}/publish/lua-libpulse-glib
sudo disable-lua ${LUA_VERSION:-5.1}

View file

@ -1,22 +0,0 @@
---
platform: linux
image_resource:
type: registry-image
source:
repository: registry.local:5000/lua-clib-pulse
tag: latest
inputs:
- name: repo
params:
CI: true
SOURCE_DIR: repo
BUILD_DIR: /tmp/build-output
DOCS_HOST: ((doc-host))
DOCS_CREDENTIALS: "((deploy-user)):((deploy-password))"
run:
path: repo/.ci/deploy-docs.sh

View file

@ -55,14 +55,3 @@ jobs:
file: repo/.ci/rock.yml file: repo/.ci/rock.yml
vars: vars:
lua-version: 5.4 lua-version: 5.4
- name: doc
plan:
- get: repo
trigger: true
- task: deploy-docs
file: repo/.ci/deploy-docs.yml
params:
doc-host: ((doc-host))
deploy-user: ((deploy-user))
deploy-password: ((deploy-password))

View file

@ -15,7 +15,9 @@ 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 busted
luarocks --lua-version ${LUA_VERSION:-5.1} install lgi 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:-.} BUILD_DIR=${BUILD_DIR:-./build} LUA_VERSION=${LUA_VERSION:-5.1} LUA=lua build make -j $(nproc) -C ${SOURCE_DIR:-.} LUA_VERSION=${LUA_VERSION:-5.1} LUA=lua
sudo disable-lua ${LUA_VERSION:-5.1} sudo disable-lua ${LUA_VERSION:-5.1}

View file

@ -82,6 +82,9 @@ doc-styles: $(BUILD_DIR)/doc/ldoc.css
doc-content: $(BUILD_DIR)/doc/index.html doc-content: $(BUILD_DIR)/doc/index.html
doc: doc-styles doc-content doc: doc-styles doc-content
ifdef CI
touch "$(BUILD_DIR)/doc/.nojekyll"
endif
clean: clean:
rm -r out/ rm -r out/

10
bors.toml Normal file
View file

@ -0,0 +1,10 @@
status = [
"check",
"test (5.1)",
"test (5.2)",
"test (5.3)",
"test (luajit)",
"rock (5.1)",
"rock (5.2)",
"rock (5.3)",
]