-
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.
First work-flow for the documentation
- Loading branch information
Showing
2 changed files
with
46 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Graphviz documentation CI | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: environement | ||
run: sudo apt-get install -y graphviz | ||
- name: setup folders | ||
run: | | ||
mkdir build | ||
mkdir build/pdf | ||
mkdir build/jpeg | ||
mkdir build/png | ||
- name: building | ||
run: | | ||
cd Documentation | ||
make DOTLANG=pdf BUILDDIR=../build/pdf/ | ||
make DOTLANG=jpeg BUILDDIR=../build/jpeg/ | ||
make DOTLANG=png BUILDDIR=../build/png/ | ||
- name: return workflow as artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: MultiFrequenciesDetector-doc | ||
path: build/* |
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,11 @@ | ||
DOT?=dot | ||
DOTLANG?=pdf | ||
DOTFLAGS?= | ||
SRCDIR?= | ||
BUILDDIR?= | ||
|
||
doc : | ||
$(DOT) $(DOTFLAGS) -T$(DOTLANG) $(SRCDIR)Overview.gv -o $(BUILDDIR)Overview.$(DOTLANG) | ||
|
||
clean : | ||
rm -f $(BUILDDIR)Overview.$(DOTLANG) |