Skip to content

Commit

Permalink
Merge pull request #292 from StoneyDSP/preview
Browse files Browse the repository at this point in the history
docs/doxy-and-make-deploy
  • Loading branch information
nathanjhood authored Dec 24, 2024
2 parents 380f745 + dbf8395 commit bcbb50a
Showing 1 changed file with 26 additions and 3 deletions.
29 changes: 26 additions & 3 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,17 @@ concurrency:
group: "pages"
cancel-in-progress: false

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CMAKE_BUILD_PARALLEL_LEVEL: 3
CMAKE_INSTALL_PARALLEL_LEVEL: 3
VCPKG_MAX_CONCURRENCY: 3
VCPKG_ROOT: ${{ github.workspace }}/vcpkg
STONEYVCV_VERSION_MAJOR: ${{ vars.STONEYVCV_VERSION_MAJOR }}
STONEYVCV_VERSION_MINOR: ${{ vars.STONEYVCV_VERSION_MINOR }}
STONEYVCV_VERSION_PATCH: ${{ vars.STONEYVCV_VERSION_PATCH }}
STONEYVCV_VERSION: ${{ vars.STONEYVCV_VERSION_MAJOR }}.${{ vars.STONEYVCV_VERSION_MINOR }}.${{ vars.STONEYVCV_VERSION_PATCH }}

jobs:
# Single deploy job since we're just deploying
deploy:
Expand All @@ -36,15 +47,27 @@ jobs:

- name: Install VCV's Linux Deps
run: |
sudo apt-get update && sudo apt install make doxygen
sudo apt-get update && sudo apt install make doxygen ninja-build cmake graphviz
- name: vcpkg install
uses: johnwason/vcpkg-action@v6
with:
# vcpkg triplet to use
triplet: x64-linux
# GitHub token to authenticate API requests. Recommended to use github.token
token: ${{ github.token }}
# Directory containing vcpkg.json manifest file. Cannot be used with pkgs.
manifest-dir: ${{ github.workspace }}
# Use vcpkg built-in GitHub binary caching. If not specified, will use the dry-run based file cache.
github-binarycache: true

- name: Configure StoneyVCV
working-directory: ${{ github.workspace }}
run: make reconfigure -j 3
run: cmake --preset x64-linux-release --fresh

- name: Make Doxygen
working-directory: ${{ github.workspace }}
run: make docs -j 3
run: doxygen ${{ github.workspace }}/docs/Doxyfile

- name: Setup Pages
uses: actions/configure-pages@v5
Expand Down

0 comments on commit bcbb50a

Please sign in to comment.