Skip to content

Commit

Permalink
Added building conan recipe for cli and gui.
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmyhalimi committed Oct 25, 2023
1 parent f12c240 commit bd95285
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 1 deletion.
15 changes: 15 additions & 0 deletions .github/workflows/update-masscalculator-cli-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,21 @@ jobs:
- name: Environment setup
run: sudo ${{matrix.repository}}/tools/installers/essentials.sh

- name: Conan Recipe Checkout [Temporary]
uses: actions/checkout@v3
with:
repository: MassCalculator/conan-masscalculator-core
path: conan-masscalculator-core

- name: Conan Profile Detect [Temporary]
run: conan profile detect

- name: Conan Config [Temporary]
run: echo -e "tools.system.package_manager:mode = install\ntools.system.package_manager:sudo = True\n" > ~/.conan2/global.conf

- name: Local Conan Recipe Build [Temporary]
run: conan create conan-masscalculator-core/all/ --version 0.2.0 --user masscalculator --channel stable --build missing

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

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-masscalculator-core-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
run: sudo ${{matrix.repository}}/tools/installers/essentials.sh

- name: Configure CMake
run: cmake -S ${{matrix.repository}} -B ${{matrix.repository}}/build -G Ninja -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 --config Release
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/update-masscalculator-gui-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,21 @@ jobs:
- name: Environment setup
run: sudo ${{matrix.repository}}/tools/installers/essentials.sh

- name: Conan Recipe Checkout [Temporary]
uses: actions/checkout@v3
with:
repository: MassCalculator/conan-masscalculator-core
path: conan-masscalculator-core

- name: Conan Profile Detect [Temporary]
run: conan profile detect

- name: Conan Config [Temporary]
run: echo -e "tools.system.package_manager:mode = install\ntools.system.package_manager:sudo = True\n" > ~/.conan2/global.conf

- name: Local Conan Recipe Build [Temporary]
run: conan create conan-masscalculator-core/all/ --version 0.2.0 --user masscalculator --channel stable --build missing

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

Expand Down

0 comments on commit bd95285

Please sign in to comment.