Skip to content

Commit dbf8395

Browse files
authored
Merge pull request #291 from StoneyDSP/development
docs/doxy-and-make-deploy
2 parents 893a3c5 + 9a202e7 commit dbf8395

File tree

1 file changed

+26
-3
lines changed

1 file changed

+26
-3
lines changed

.github/workflows/static.yml

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,17 @@ concurrency:
2121
group: "pages"
2222
cancel-in-progress: false
2323

24+
env:
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26+
CMAKE_BUILD_PARALLEL_LEVEL: 3
27+
CMAKE_INSTALL_PARALLEL_LEVEL: 3
28+
VCPKG_MAX_CONCURRENCY: 3
29+
VCPKG_ROOT: ${{ github.workspace }}/vcpkg
30+
STONEYVCV_VERSION_MAJOR: ${{ vars.STONEYVCV_VERSION_MAJOR }}
31+
STONEYVCV_VERSION_MINOR: ${{ vars.STONEYVCV_VERSION_MINOR }}
32+
STONEYVCV_VERSION_PATCH: ${{ vars.STONEYVCV_VERSION_PATCH }}
33+
STONEYVCV_VERSION: ${{ vars.STONEYVCV_VERSION_MAJOR }}.${{ vars.STONEYVCV_VERSION_MINOR }}.${{ vars.STONEYVCV_VERSION_PATCH }}
34+
2435
jobs:
2536
# Single deploy job since we're just deploying
2637
deploy:
@@ -36,15 +47,27 @@ jobs:
3647

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

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

4568
- name: Make Doxygen
4669
working-directory: ${{ github.workspace }}
47-
run: make docs -j 3
70+
run: doxygen ${{ github.workspace }}/docs/Doxyfile
4871

4972
- name: Setup Pages
5073
uses: actions/configure-pages@v5

0 commit comments

Comments
 (0)