-
Notifications
You must be signed in to change notification settings - Fork 217
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 #165 from CVCUDA/feat/dlesage/v0.8.x
feat: adding code for release v0.8.0 of CV-CUDA
- Loading branch information
Showing
75 changed files
with
4,349 additions
and
1,002 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 |
---|---|---|
@@ -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 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
Oops, something went wrong.