-
Notifications
You must be signed in to change notification settings - Fork 235
feat: adding code for release v0.8.0 of CV-CUDA #165
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
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
7c598d3
feat: adding code for release v0.8.0 of CV-CUDA
dlesage-nvidia 004b4b7
feat: update codeql workflow to deploy documentation site
dlesage-nvidia be4fb45
Update .github/workflows/codeql.yml
milesp-nvidia 48df11e
Update .github/workflows/codeql.yml
milesp-nvidia File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
---|---|---|
@@ -1,14 +1,3 @@ | ||
# For most projects, this workflow file will not need changing; you simply need | ||
# to commit it to your repository. | ||
# | ||
# You may wish to alter this file to override the set of languages analyzed, | ||
# or to provide custom queries or build logic. | ||
# | ||
# ******** NOTE ******** | ||
# We have attempted to detect the languages in your repository. Please check | ||
# the `language` matrix defined below to confirm you have the correct set of | ||
# supported CodeQL languages. | ||
# | ||
name: "CodeQL" | ||
|
||
on: | ||
|
@@ -22,11 +11,11 @@ on: | |
jobs: | ||
analyze: | ||
name: Analyze | ||
runs-on: ${{ (matrix.language == 'c-cpp' && 'ubuntu-20.04-64core') || 'ubuntu-latest' }} | ||
timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }} | ||
runs-on: ubuntu-20.04-64core | ||
timeout-minutes: 360 | ||
permissions: | ||
actions: read | ||
contents: read | ||
actions: write | ||
contents: write | ||
security-events: write | ||
|
||
strategy: | ||
|
@@ -36,27 +25,35 @@ jobs: | |
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
lfs: true | ||
submodules: 'recursive' | ||
|
||
- if: matrix.language == 'c-cpp' | ||
name: Setup environment | ||
run: | | ||
sudo apt update -y && sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y && \ | ||
sudo apt update -y && sudo apt install -y --no-install-recommends \ | ||
git git-lfs gcc-11 g++-11 ninja-build ccache libgtest-dev libgmock-dev \ | ||
shellcheck curl doxygen python3 python3-pip python3-dev python3-distutils | ||
shellcheck curl doxygen python3 python3-pip python3-dev python3-distutils \ | ||
texlive-latex-extra ghostscript graphviz \ | ||
&& curl -L https://cmake.org/files/v3.20/cmake-3.20.1-linux-x86_64.tar.gz --output /tmp/cmake-3.20.1.tar.gz \ | ||
&& tar -xzf /tmp/cmake-3.20.1.tar.gz -C /tmp/ && sudo cp -r /tmp/cmake-3.20.1-linux-x86_64/bin/ /usr/local/ \ | ||
&& sudo cp -r /tmp/cmake-3.20.1-linux-x86_64/share/ /usr/local/ && sudo cp -r /tmp/cmake-3.20.1-linux-x86_64/doc/ /usr/local/ \ | ||
&& rm -rf /tmp/cmake-3.20.1* | ||
|
||
- if: matrix.language == 'c-cpp' | ||
name: Install Python Dependencies | ||
run: | | ||
python3 -m pip install sphinx-rtd-theme sphinx==4.5.0 breathe exhale \ | ||
recommonmark graphviz numpy==1.24.1 | ||
sudo apt update -y && sudo apt install -y --no-install-recommends \ | ||
python3 python3-pip python3-dev python3-distutils doxygen && sudo rm -rf /var/lib/apt/lists/* \ | ||
&& python3 -m pip install sphinx-rtd-theme sphinx breathe exhale recommonmark graphviz \ | ||
&& python3 -m pip install numpy==1.24.1 patchelf==0.17.2.1 | ||
|
||
- if: matrix.language == 'c-cpp' | ||
name: Install CUDA Toolkit | ||
uses: Jimver/[email protected].11 | ||
uses: Jimver/[email protected].15 | ||
id: cuda-toolkit | ||
with: | ||
cuda: '11.7.1' | ||
|
@@ -72,22 +69,44 @@ jobs: | |
nvcc -V | ||
|
||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v2 | ||
uses: github/codeql-action/init@v3 | ||
with: | ||
languages: ${{ matrix.language }} | ||
queries: +security-and-quality | ||
|
||
- if: matrix.language != 'c-cpp' | ||
name: Autobuild | ||
uses: github/codeql-action/autobuild@v2 | ||
uses: github/codeql-action/autobuild@v3 | ||
|
||
- if: matrix.language == 'c-cpp' | ||
name: Build CMake project | ||
run: | | ||
echo "Running CMake project build script" | ||
./ci/build.sh debug build "-DBUILD_SAMPLES=OFF -DBUILD_TESTS=OFF" $* | ||
./ci/build.sh debug build "-DBUILD_SAMPLES=OFF -DBUILD_TESTS=OFF -DBUILD_PYTHON=ON" $* | ||
|
||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v2 | ||
uses: github/codeql-action/analyze@v3 | ||
with: | ||
category: "/language:${{matrix.language}}" | ||
|
||
- if: matrix.language == 'c-cpp' && github.event_name == 'push' | ||
name: Build Docs and Clean up Sphinx Build Directory | ||
run: | | ||
./ci/build.sh debug build "-DBUILD_SAMPLES=OFF -DBUILD_TESTS=OFF -DBUILD_DOCS=ON -DBUILD_PYTHON=ON" $* | ||
find build/docs/sphinx -name '*.doctree' -delete | ||
find build/docs/sphinx -name '*.map' -delete | ||
find build/docs/sphinx -name '*.pickle' -delete | ||
find build/docs/sphinx -name '*.inv' -delete | ||
find build/docs/sphinx -name '*.gz' -delete | ||
|
||
- if: matrix.language == 'c-cpp' && github.event_name == 'push' | ||
name: Create .nojekyll file | ||
run: touch build/docs/sphinx/.nojekyll | ||
|
||
- if: matrix.language == 'c-cpp' && github.event_name == 'push' | ||
name: Deploy to GitHub Pages | ||
uses: JamesIves/github-pages-deploy-action@v4 | ||
with: | ||
folder: build/docs/sphinx | ||
branch: gh-pages | ||
clean: true |
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.