Skip to content

Single Threaded + Emscripten Support (#301) #10

Single Threaded + Emscripten Support (#301)

Single Threaded + Emscripten Support (#301) #10

Workflow file for this run

name: Documentation and Single Header
on:
push:
branches: [ "master" ]
workflow_dispatch: # Allow manual runs from the Actions tab
# Only one Pages deployment at a time
concurrency:
group: pages
cancel-in-progress: false
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5
with:
submodules: recursive
- name: Install Doxygen
run: |
sudo apt-get update
sudo apt-get install -y doxygen graphviz
- name: Run Doxygen
run: doxygen Doxyfile
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.x'
- name: Generate single header
# Drops csv.hpp into docs/html so it is served at the same Pages URL
# as the Doxygen docs: https://<owner>.github.io/csv-parser/csv.hpp
run: python single_header.py docs/html/csv.hpp
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs/html
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4