Skip to content

Update GH CI.

Update GH CI. #20

Workflow file for this run

name: ci
on: [push]
permissions:
contents: write
jobs:
deploy:
if: contains( github.ref, 'actions_github')
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
submodules: true
- uses: actions/setup-python@v5
with:
python-version: 3.x
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@v4
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- name: Build pyStreamPU
run: |
git submodule update --init --recursive
export GIT_TAG="v0.0.0"
pip install -v -Ccmake.define.SPU_OVERRIDE_VERSION="$GIT_TAG" .
- name: Deploy
run: |
pip install mkdocs-material
pip install mkdocs-jupyter
pip install mkdocstrings-python
mkdocs gh-deploy --force