forked from phbasler/BSMPT
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use conan 2 for setting up (phbasler#124)
* add basic setup with conan * basic setup * Add linux profiles * Fix profiles * add options to conan file * trigger conan workflow * only have toolchain in method * fix typo in found * run tests * disable coverage by default * try matrix setup * add other systems * add profile * add mac * adjust compiler version * adjust profile * fix name * adjust doxygen * Adjust codeql * add option to script * remove unnecessary build * install lcov through conan * Automated commit of cmake-format changes. * set options to empty list * use elvis operator * change name of matrix job * adjust python notes * fix indent * add concurrency group * Trigger on Setup change * Fix option * Fix missing s * Install conan in wotkflow * Update codecov.yml * fix coverage exclusion * Automated commit of cmake-format changes. * add conan part to readme * add codecov token --------- Co-authored-by: Philipp Basler <[email protected]> Co-authored-by: phbasler <[email protected]>
- Loading branch information
1 parent
d02aa0a
commit faee481
Showing
38 changed files
with
457 additions
and
1,459 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,25 +8,35 @@ on: | |
push: | ||
branches: [ master ] | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
|
||
jobs: | ||
Deploy: | ||
runs-on: ubuntu-20.04 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
persist-credentials: false | ||
- name: installPackages | ||
run: sudo apt-get install --no-install-recommends --yes libgsl-dev libeigen3-dev libnlopt-cxx-dev libboost-all-dev doxygen | ||
run: sudo apt-get install --no-install-recommends --yes doxygen | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.x' # Version range or exact version of a Python version to use, using SemVer's version range syntax | ||
architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified | ||
- name: Install conan | ||
run: pip install conan>2 | ||
- name: Get number of CPU cores | ||
uses: SimenB/github-actions-cpu-cores@v2 | ||
id: cpu-cores | ||
- name: cmake | ||
run: mkdir build && cd build && cmake .. && cmake --build . -j${{ steps.cpu-cores.outputs.count }} -t doc | ||
- run: python3 Setup.py | ||
- run: cmake --preset conan-linux-x86_64-release | ||
- run: cmake --build --preset conan-linux-x86_64-release -j${{ steps.cpu-cores.outputs.count }} -t doc | ||
- name: Deploy | ||
uses: JamesIves/[email protected] | ||
with: | ||
branch: gh-pages # The branch the action should deploy to. | ||
folder: build/html # The folder the action should deploy. | ||
folder: build/linux-x86_64-release/html # The folder the action should deploy. | ||
target-folder: documentation |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.