diff --git a/.github/workflows/update-masscalculator-cli-docs.yml b/.github/workflows/update-masscalculator-cli-docs.yml index ee772b14..92b762b9 100644 --- a/.github/workflows/update-masscalculator-cli-docs.yml +++ b/.github/workflows/update-masscalculator-cli-docs.yml @@ -18,6 +18,7 @@ jobs: with: repository: "MassCalculator/masscalculator.github.io" path: "masscalculator.github.io" + - name: Checkout documentation repository uses: actions/checkout@v3 with: @@ -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 diff --git a/.github/workflows/update-masscalculator-core-docs.yml b/.github/workflows/update-masscalculator-core-docs.yml index e67bb515..ee33356c 100644 --- a/.github/workflows/update-masscalculator-core-docs.yml +++ b/.github/workflows/update-masscalculator-core-docs.yml @@ -18,6 +18,7 @@ jobs: with: repository: "MassCalculator/masscalculator.github.io" path: "masscalculator.github.io" + - name: Checkout documentation repository uses: actions/checkout@v3 with: @@ -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 diff --git a/.github/workflows/update-masscalculator-docker-docs.yml b/.github/workflows/update-masscalculator-docker-docs.yml index ff89f8a8..963dbec7 100644 --- a/.github/workflows/update-masscalculator-docker-docs.yml +++ b/.github/workflows/update-masscalculator-docker-docs.yml @@ -18,6 +18,7 @@ jobs: with: repository: "MassCalculator/masscalculator.github.io" path: "masscalculator.github.io" + - name: Checkout documentation repository uses: actions/checkout@v3 with: @@ -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 diff --git a/.github/workflows/update-masscalculator-gui-docs.yml b/.github/workflows/update-masscalculator-gui-docs.yml index 3f478da3..55799118 100644 --- a/.github/workflows/update-masscalculator-gui-docs.yml +++ b/.github/workflows/update-masscalculator-gui-docs.yml @@ -18,6 +18,7 @@ jobs: with: repository: "MassCalculator/masscalculator.github.io" path: "masscalculator.github.io" + - name: Checkout documentation repository uses: actions/checkout@v3 with: @@ -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 diff --git a/.github/workflows/update-masscalculator-yocto-docs.yml b/.github/workflows/update-masscalculator-yocto-docs.yml index 6cd3e365..37eecef4 100644 --- a/.github/workflows/update-masscalculator-yocto-docs.yml +++ b/.github/workflows/update-masscalculator-yocto-docs.yml @@ -18,6 +18,7 @@ jobs: with: repository: "MassCalculator/masscalculator.github.io" path: "masscalculator.github.io" + - name: Checkout documentation repository uses: actions/checkout@v3 with: @@ -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