Move Windows code inside the acacia namespace (#208) #20
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Doxygen | |
on: | |
push: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
build: | |
name: Build and publish gh-pages | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install System dependencies | |
run: sudo apt install -y libatspi2.0-dev doxygen | |
- uses: actions/checkout@v3 | |
- name: Configure Project | |
run: | | |
mkdir build | |
cd build | |
cmake .. -DACACIA_DOCS=ON | |
- name: Build project | |
run: | | |
cd build | |
make -j | |
- name: Upload artifact | |
uses: actions/upload-pages-artifact@v3 | |
with: | |
path: './build/docs/docs/html' | |
deploy: | |
needs: build | |
permissions: | |
pages: write | |
id-token: write | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Deploy to GitHub Pages | |
id: deployment | |
uses: actions/deploy-pages@v4 |