try doc update on ci

This commit is contained in:
SANO Masatoshi 2021-10-13 16:37:43 +09:00
parent 181cf35eed
commit ef6e4a3eaf
4 changed files with 34 additions and 2 deletions

View file

@ -23,6 +23,10 @@ jobs:
target: x86-64
image: deb
makeopts: deb
- lisp: sbcl-bin/2.0.0
target: x86-64
image: pandoc
makeopts: docs
environment: SET_VERSION
steps:

View file

@ -0,0 +1,12 @@
FROM ubuntu:16.04
RUN apt-get update && apt-get install -y \
build-essential git automake libcurl4-openssl-dev curl pandoc ruby-sass \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
run ln -s /bin/echo /bin/run-prove
run curl -L -O https://github.com/roswell/roswell/releases/download/v21.06.14.110/roswell-21.06.14.110-linux-x86_64.tar.bz2 \
&& tar xf roswell-21.06.14.110-linux-x86_64.tar.bz2 \
&& cd roswell;make install \
&& rm -rf roswell roswell-21.06.14.110-linux-x86_64.tar.bz2
run ros install sbcl-bin/2.0.0; ros run -- --version
run ros install snmsts/sn.github

View file

@ -0,0 +1 @@
pandoc:xenial

View file

@ -23,7 +23,7 @@ pull-docker:
docker pull docker.pkg.github.com/roswell/roswell/$$(cat ./scripts/Docker/$(IMAGE)/Name);
docker:
docker run \
-v `pwd`:/tmp \
-v `pwd`:/tmp2 \
-e ARCH=$(ARCH) \
-e VERSION=$(VERSION) \
-e CFLAGS=$(CFLAGS) \
@ -31,7 +31,7 @@ docker:
-e VARIANT=$(VARIANT) \
docker.pkg.github.com/roswell/roswell/$$(cat ./scripts/Docker/$(IMAGE)/Name) \
bash \
-c "cd /tmp;make -f scripts/Makefile $(MAKEOPTS)"
-c "cd /tmp2;make -f scripts/Makefile $(MAKEOPTS)"
upload:
echo upload!!! $(FILE)
ros install roswell/sbcl_bin
@ -60,6 +60,21 @@ deb:
deb-upload:
env FILE=`echo *.deb` VERSION=$(VERSION) $(MAKE) -f $(realpath $(firstword $(MAKEFILE_LIST))) upload
docs:
rm -f documents/man/* documents/html/*
./configure --enable-manual-generation --enable-html-generation
make
docs-upload:
git config --local user.email "auto@example.com"
git config --local user.name "github actions"
git branch
git status
git add -u
git add documents/man/* documents/html/*
git commit -m "[ci skip] documents update"
git push origin master
upload.exe:
curl --no-progress-bar --retry 10 -o upload.tar.bz2 -L https://github.com/roswell/roswell/releases/download/v21.06.14.110/upload-mingw64_nt-x86_64.tar.bz2
tar xvf upload.tar.bz2