Skip to content

Commit

Permalink
Updated pipelines, added ninja, and new line.
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmyhalimi committed May 23, 2023
1 parent 6726b0f commit f12c240
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 10 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/update-masscalculator-cli-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
with:
repository: "MassCalculator/masscalculator.github.io"
path: "masscalculator.github.io"

- name: Checkout documentation repository
uses: actions/checkout@v3
with:
Expand All @@ -29,10 +30,10 @@ jobs:
run: sudo ${{matrix.repository}}/tools/installers/essentials.sh

- name: Configure CMake
run: cmake -S ${{matrix.repository}} -B ${{matrix.repository}}/build -DCMAKE_BUILD_TYPE=Release -DBUILD_DOCS=ON
run: cmake -S ${{matrix.repository}} -B ${{matrix.repository}}/build -G Ninja -DCMAKE_BUILD_TYPE=Release -DBUILD_DOCS=ON

- name: Build documentation
run: cmake --build ${{matrix.repository}}/build -t Doxygen
run: cmake --build ${{matrix.repository}}/build -t Doxygen --config Release

- name: Remove old HTML
run: rm -rf masscalculator.github.io/docs/masscalculator-cli/${{matrix.ref}}/html
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/update-masscalculator-core-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
with:
repository: "MassCalculator/masscalculator.github.io"
path: "masscalculator.github.io"

- name: Checkout documentation repository
uses: actions/checkout@v3
with:
Expand All @@ -29,10 +30,10 @@ jobs:
run: sudo ${{matrix.repository}}/tools/installers/essentials.sh

- name: Configure CMake
run: cmake -S ${{matrix.repository}} -B ${{matrix.repository}}/build -DCMAKE_BUILD_TYPE=Release -DBUILD_DOCS=ON
run: cmake -S ${{matrix.repository}} -B ${{matrix.repository}}/build -G Ninja -DCMAKE_BUILD_TYPE=Release -DBUILD_DOCS=ON

- name: Build documentation
run: cmake --build ${{matrix.repository}}/build -t Doxygen
run: cmake --build ${{matrix.repository}}/build -t Doxygen --config Release

- name: Remove old HTML
run: rm -rf masscalculator.github.io/docs/masscalculator-core/${{matrix.ref}}/html
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/update-masscalculator-docker-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
with:
repository: "MassCalculator/masscalculator.github.io"
path: "masscalculator.github.io"

- name: Checkout documentation repository
uses: actions/checkout@v3
with:
Expand All @@ -29,10 +30,10 @@ jobs:
run: sudo ${{matrix.repository}}/tools/installers/essentials.sh

- name: Configure CMake
run: cmake -S ${{matrix.repository}} -B ${{matrix.repository}}/build -DCMAKE_BUILD_TYPE=Release -DBUILD_DOCS=ON
run: cmake -S ${{matrix.repository}} -B ${{matrix.repository}}/build -G Ninja -DCMAKE_BUILD_TYPE=Release -DBUILD_DOCS=ON

- name: Build documentation
run: cmake --build ${{matrix.repository}}/build -t Doxygen
run: cmake --build ${{matrix.repository}}/build -t Doxygen --config Release

- name: Remove old HTML
run: rm -rf masscalculator.github.io/docs/masscalculator-docker/${{matrix.ref}}/html
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/update-masscalculator-gui-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
with:
repository: "MassCalculator/masscalculator.github.io"
path: "masscalculator.github.io"

- name: Checkout documentation repository
uses: actions/checkout@v3
with:
Expand All @@ -29,10 +30,10 @@ jobs:
run: sudo ${{matrix.repository}}/tools/installers/essentials.sh

- name: Configure CMake
run: cmake -S ${{matrix.repository}} -B ${{matrix.repository}}/build -DCMAKE_BUILD_TYPE=Release -DBUILD_DOCS=ON
run: cmake -S ${{matrix.repository}} -B ${{matrix.repository}}/build -G Ninja -DCMAKE_BUILD_TYPE=Release -DBUILD_DOCS=ON

- name: Build documentation
run: cmake --build ${{matrix.repository}}/build -t Doxygen
run: cmake --build ${{matrix.repository}}/build -t Doxygen --config Release

- name: Remove old HTML
run: rm -rf masscalculator.github.io/docs/masscalculator-gui/${{matrix.ref}}/html
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/update-masscalculator-yocto-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
with:
repository: "MassCalculator/masscalculator.github.io"
path: "masscalculator.github.io"

- name: Checkout documentation repository
uses: actions/checkout@v3
with:
Expand All @@ -29,10 +30,10 @@ jobs:
run: sudo ${{matrix.repository}}/tools/installers/essentials.sh

- name: Configure CMake
run: cmake -S ${{matrix.repository}} -B ${{matrix.repository}}/build -DCMAKE_BUILD_TYPE=Release -DBUILD_DOCS=ON
run: cmake -S ${{matrix.repository}} -B ${{matrix.repository}}/build -G Ninja -DCMAKE_BUILD_TYPE=Release -DBUILD_DOCS=ON

- name: Build documentation
run: cmake --build ${{matrix.repository}}/build -t Doxygen
run: cmake --build ${{matrix.repository}}/build -t Doxygen --config Release

- name: Remove old HTML
run: rm -rf masscalculator.github.io/docs/masscalculator-yocto/${{matrix.ref}}/html
Expand Down

0 comments on commit f12c240

Please sign in to comment.