Skip to content

[tests] Use CXREF_PROGRAM for debug targets #56

[tests] Use CXREF_PROGRAM for debug targets

[tests] Use CXREF_PROGRAM for debug targets #56

Workflow file for this run

name: Build and Deploy Documentation
# Defines when the action will run.
on:
push:
branches:
- main # Trigger the action on pushes to the main branch
jobs:
build-and-deploy:
runs-on: ubuntu-latest # Specifies the runner environment
steps:
- name: Checkout repo
uses: actions/checkout@v3 # Checks out your repository under $GITHUB_WORKSPACE
- name: Set up Python 3.x
uses: actions/setup-python@v4
with:
python-version: '3.x' # Ensures Python 3.x is installed, adjust as needed for your project
- name: Install Graphviz
run: |
sudo apt-get update && sudo apt-get install -y graphviz
- name: Install Asciidoctor and Asciidoctor-Diagram
run: |
gem install asciidoctor asciidoctor-diagram asciidoctor-pdf --user-install
echo "PATH=$(ruby -r rubygems -e 'puts Gem.user_dir')/bin:$PATH" >> $GITHUB_ENV
- name: Run Make
run: make -C doc ci
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./doc/dist # Adjusts the path to the build output directory