-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from SC-SGS/unification
Unification
- Loading branch information
Showing
71 changed files
with
7,309 additions
and
4,524 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Generate documentation | ||
|
||
# only trigger this action on specific events | ||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build-documentation: | ||
runs-on: ubuntu-latest | ||
steps: | ||
# checkout repository | ||
- name: Checkout hws | ||
uses: actions/[email protected] | ||
with: | ||
path: hardware_sampling | ||
# install dependencies | ||
- name: Dependencies | ||
run: | | ||
sudo apt update | ||
sudo apt-get install -y doxygen graphviz | ||
# configure project via CMake | ||
- name: Configure | ||
run: | | ||
cd hardware_sampling | ||
mkdir build | ||
cd build | ||
cmake -DHWS_ENABLE_DOCUMENTATION=ON .. | ||
# build project | ||
- name: Generate | ||
run: | | ||
cd hardware_sampling/build | ||
make doc | ||
# deploy generated documentation using github.io | ||
- name: Deploy | ||
uses: peaceiris/actions-gh-pages@v4 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: ./hardware_sampling/docs/html |
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
Oops, something went wrong.