Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added config files for Doxygen #1107

Draft
wants to merge 33 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
e969634
Doxygen
skyline75489 Nov 14, 2024
edd56cb
pass doxygen
skyline75489 Nov 14, 2024
f4663e2
Add
skyline75489 Nov 18, 2024
2157517
Merge branch 'main' into jialli/init-doxygen
skyline75489 Nov 21, 2024
53c1cee
GHA
skyline75489 Nov 21, 2024
97fbb9e
C/C++
skyline75489 Nov 29, 2024
9ab2427
Merge branch 'main' into jialli/init-doxygen
skyline75489 Nov 29, 2024
8511fd2
Pool
skyline75489 Nov 29, 2024
87f6998
Update
skyline75489 Nov 29, 2024
b626c1a
Update
skyline75489 Nov 29, 2024
459bf4d
Missing C# doc
skyline75489 Nov 29, 2024
06def95
Fix csharp build
skyline75489 Dec 2, 2024
68cf8e2
Update to fix java build
skyline75489 Dec 2, 2024
a7544d5
Merge branch 'main' into jialli/init-doxygen
skyline75489 Dec 3, 2024
a8281a3
spotless java
skyline75489 Dec 3, 2024
7e6e1dc
[skip ci] update
skyline75489 Dec 3, 2024
5f68815
[skip ci] c++
skyline75489 Dec 3, 2024
70d93b4
[skip ci] c++
skyline75489 Dec 3, 2024
fea78ae
Merge branch 'main' into jialli/init-doxygen
skyline75489 Dec 4, 2024
e9c048b
[skip ci] diff calculation
skyline75489 Dec 4, 2024
291abd7
Merge branch 'main' into jialli/init-doxygen
skyline75489 Dec 9, 2024
21be96b
Merge branch 'main' into jialli/init-doxygen
skyline75489 Dec 10, 2024
1665045
Fix
skyline75489 Dec 10, 2024
493ac2e
tool
skyline75489 Dec 10, 2024
a9e77ae
fix script
skyline75489 Dec 11, 2024
0f99470
Merge branch 'main' into jialli/init-doxygen
skyline75489 Dec 12, 2024
30b8bbb
objc doxygen
skyline75489 Dec 12, 2024
0cc1f59
Update
skyline75489 Dec 12, 2024
b283df2
Update for objc
skyline75489 Dec 12, 2024
8546885
Update script
skyline75489 Dec 12, 2024
dcb5ecc
Merge branch 'main' into jialli/init-doxygen
skyline75489 Dec 13, 2024
6860cbb
Clean up
skyline75489 Dec 13, 2024
bd0f247
Merge branch 'main' into jialli/init-doxygen
skyline75489 Dec 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions .github/workflows/doxygen-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: "Doxygen Build"
on:
workflow_dispatch:
push:
branches:
- main
- rel-*
paths:
- src/**
pull_request:
jobs:
build:
name: Generate API docs
runs-on: [ "self-hosted", "1ES.Pool=onnxruntime-genai-Ubuntu2204-AMD-CPU" ]
steps:
- uses: actions/checkout@v4
- name: Install doxygen and dependencies
run: |
sudo apt update
sudo apt-get install libclang-dev
sudo apt-get install libclang-cpp14
wget https://www.doxygen.nl/files/doxygen-1.9.8.linux.bin.tar.gz
tar xvzf doxygen-1.9.8.linux.bin.tar.gz

- name: Run C/C++ doxygen
run: |
cd src/
../doxygen-1.9.8/bin/doxygen Doxyfile

- name: Run CSharp doxygen
run: |
cd src/csharp/
../../doxygen-1.9.8/bin/doxygen Doxyfile_csharp.cfg

- name: Run Java doxygen
run: |
cd src/java/
../../doxygen-1.9.8/bin/doxygen Doxyfile_java.cfg

- name: Run Objective-C doxygen
run: |
cd src/objectivec/
../../doxygen-1.9.8/bin/doxygen Doxyfile_objc.cfg

- name: Run API diff
run: |
python -m pip install -U jsonpickle
python ./tools/ci_build/validate_doxygen_xml.py \
--cxx-output-dir ./src/cxx_dox \
--java-output-dir ./src/java/java_dox \
--csharp-output-dir ./src/csharp/csharp_dox \
--objc-output-dir ./src/objectivec/objc_dox
Loading
Loading