Skip to content

Merge pull request #753 from uwedolinsky/uwe/native_cpu #404

Merge pull request #753 from uwedolinsky/uwe/native_cpu

Merge pull request #753 from uwedolinsky/uwe/native_cpu #404

Workflow file for this run

# Simple workflow for deploying static content to GitHub Pages
name: Deploy documentation to Pages
on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install apt package
run: |
sudo apt-get update
sudo apt-get install -y doxygen
- name: Install prerequisites
run: python3 -m pip install -r third_party/requirements.txt
- name: Setup Pages
uses: actions/configure-pages@v2
- name: Build Documentation
working-directory: ${{github.workspace}}/scripts
run: python3 run.py --core
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: ${{github.workspace}}/docs/html
# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1