Skip to content

Integrate new CLI

Integrate new CLI #553

Workflow file for this run

name: Standard Build Check
on:
push:
pull_request:
workflow_dispatch:
jobs:
buildtest:
name: Build Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Install poetry
uses: abatilo/actions-poetry@v2
with:
poetry-version: "1.8.3"
- name: Install vss-tools dependencies
run: |
python -V
poetry --version
cd vss-tools
sudo apt install -y protobuf-compiler
poetry install
echo done!
env:
PIPENV_VENV_IN_PROJECT: 1
- name: Test mandatory targets
run: |
poetry run make mandatory_targets
env:
PIPENV_PIPFILE: ./vss-tools/Pipfile
PIPENV_VENV_IN_PROJECT: 1
- name: Test that ddsidl is correct
run: |
poetry run idlc *.idl
env:
PIPENV_VENV_IN_PROJECT: 1
- name: Test optional targets. NOTE - always succeeds
run: |
poetry run make -k optional_targets || true
env:
PIPENV_PIPFILE: ./vss-tools/Pipfile
PIPENV_VENV_IN_PROJECT: 1
- name: Install hugo
env:
HUGO_VER : 0.103.1
run: |
curl -LO https://github.com/gohugoio/hugo/releases/download/v${HUGO_VER}/hugo_${HUGO_VER}_linux-amd64.deb
sudo dpkg -i hugo_${HUGO_VER}_linux-amd64.deb
- name: Make docs
run: |
hugo -s ./docs-gen
- name: Deploy docs
# Only deploy docs if this was a push to master
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages # The branch the action should deploy to.
folder: docs # The folder the action should deploy.
commit-message: Auto-deploy docs built from commit ${{ github.sha }}