mirror of
https://github.com/OpenCoin/oc-mint-cpp.git
synced 2025-07-04 06:09:42 +02:00
updated github actions to cross-platform build and added action for github pages
This commit is contained in:
29
.github/workflows/doxygen-gh-pages.yml
vendored
Normal file
29
.github/workflows/doxygen-gh-pages.yml
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
name: Deploy Doxygen results to Github Pages
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
jobs:
|
||||
build-and-deploy:
|
||||
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout 🛎️
|
||||
uses: actions/checkout@v3
|
||||
- name: Prepare dependencies
|
||||
run: sudo apt-get update && sudo apt-get install -yq libboost-system-dev libboost-date-time-dev cmake graphviz doxygen
|
||||
- name: configure
|
||||
run: cmake -B build -S . -DEXPATPP_BUILD_DOCS=ON
|
||||
- name: clean generated docs dir
|
||||
run: rm -rf build/html
|
||||
- name: build
|
||||
run: cmake --build build --target doc
|
||||
|
||||
- name: Deploy 🚀
|
||||
uses: JamesIves/github-pages-deploy-action@v4
|
||||
with:
|
||||
folder: build/html # The folder the action should deploy.
|
Reference in New Issue
Block a user