mirror of
https://github.com/isar/libmdbx.git
synced 2024-12-30 03:34:13 +08:00
mdbx-ci: build github-pages by doxygen.
Change-Id: I9d84ca299cf0b8579157f84dae42fcbb09a6f8bc
This commit is contained in:
parent
e3efef40c4
commit
bb3d4ab9ba
@ -1,6 +1,9 @@
|
|||||||
version: 2
|
version: 2
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
branches:
|
||||||
|
ignore:
|
||||||
|
- gh-pages
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/buildpack-deps:20.04
|
- image: circleci/buildpack-deps:20.04
|
||||||
environment:
|
environment:
|
||||||
|
25
.github/workflows/doxygen-github-pages.yml
vendored
Normal file
25
.github/workflows/doxygen-github-pages.yml
vendored
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
name: doxygen-github-pages
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-20.04
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
- name: Install doxygen
|
||||||
|
run: sudo apt install doxygen graphviz fonts-freefont-ttf
|
||||||
|
- name: Build html docs
|
||||||
|
run: make doxygen && cp -R .circleci docs/html/
|
||||||
|
- name: Deploy gh-pages
|
||||||
|
uses: JamesIves/github-pages-deploy-action@3.5.7
|
||||||
|
with:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
BRANCH: gh-pages
|
||||||
|
FOLDER: docs/html
|
||||||
|
SINGLE_COMMIT: true
|
4
.github/workflows/release-assets.yml
vendored
4
.github/workflows/release-assets.yml
vendored
@ -11,10 +11,12 @@ name: Upload Release Asset
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Upload Release Asset
|
name: Upload Release Asset
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
- name: Build assets
|
- name: Build assets
|
||||||
run: |
|
run: |
|
||||||
make release-assets
|
make release-assets
|
||||||
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -33,3 +33,5 @@ src/version.c
|
|||||||
src/config.h
|
src/config.h
|
||||||
dist/
|
dist/
|
||||||
*.tar*
|
*.tar*
|
||||||
|
docs/Doxyfile
|
||||||
|
docs/html/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user