forked from deepmodeling/deepmd-kit
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge devel to master (deepmodeling#3165)
Prepare v2.2.8
- Loading branch information
Showing
260 changed files
with
15,372 additions
and
8,472 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,15 +1,39 @@ | ||
Python: | ||
- deepmd/**/* | ||
- deepmd_cli/**/* | ||
- source/tests/**/* | ||
Docs: doc/**/* | ||
Examples: examples/**/* | ||
Core: source/lib/**/* | ||
CUDA: source/lib/src/gpu/**/* | ||
ROCM: source/lib/src/gpu/**/* | ||
OP: source/op/**/* | ||
C++: source/api_cc/**/* | ||
C: source/api_c/**/* | ||
LAMMPS: source/lmp/**/* | ||
Gromacs: source/gmx/**/* | ||
i-Pi: source/ipi/**/* | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- deepmd/**/* | ||
- deepmd_utils/**/* | ||
- source/tests/**/* | ||
Docs: | ||
- changed-files: | ||
- any-glob-to-any-file: doc/**/* | ||
Examples: | ||
- changed-files: | ||
- any-glob-to-any-file: examples/**/* | ||
Core: | ||
- changed-files: | ||
- any-glob-to-any-file: source/lib/**/* | ||
CUDA: | ||
- changed-files: | ||
- any-glob-to-any-file: source/lib/src/gpu/**/* | ||
ROCM: | ||
- changed-files: | ||
- any-glob-to-any-file: source/lib/src/gpu/**/* | ||
OP: | ||
- changed-files: | ||
- any-glob-to-any-file: source/op/**/* | ||
C++: | ||
- changed-files: | ||
- any-glob-to-any-file: source/api_cc/**/* | ||
C: | ||
- changed-files: | ||
- any-glob-to-any-file: source/api_c/**/* | ||
LAMMPS: | ||
- changed-files: | ||
- any-glob-to-any-file: source/lmp/**/* | ||
Gromacs: | ||
- changed-files: | ||
- any-glob-to-any-file: source/gmx/**/* | ||
i-Pi: | ||
- changed-files: | ||
- any-glob-to-any-file: source/ipi/**/* |
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,34 @@ | ||
changelog: | ||
exclude: | ||
authors: | ||
- app/pre-commit-ci | ||
- app/dependabot | ||
categories: | ||
- title: Breaking Changes | ||
labels: | ||
- "breaking change" | ||
- title: New Features | ||
labels: | ||
- "new feature" | ||
- title: Enhancement | ||
labels: | ||
- enhancement | ||
- title: Documentation | ||
labels: | ||
# automatically added | ||
- Docs | ||
# for docs outside the doc directory | ||
- "other docs" | ||
exclude: | ||
labels: | ||
- build | ||
- bug | ||
- title: Build and release | ||
labels: | ||
- build | ||
- title: Bug fixings | ||
labels: | ||
- bug | ||
- title: Other Changes | ||
labels: | ||
- "*" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
name: "CodeQL" | ||
|
||
on: | ||
push: | ||
pull_request: | ||
schedule: | ||
- cron: '45 2 * * 2' | ||
|
||
jobs: | ||
analyze: | ||
name: Analyze | ||
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }} | ||
timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }} | ||
permissions: | ||
actions: read | ||
contents: read | ||
security-events: write | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
language: [ 'c-cpp', 'javascript-typescript', 'python' ] | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.11' | ||
cache: 'pip' | ||
if: matrix.language == 'c-cpp' | ||
- name: "Setup dependencies" | ||
if: matrix.language == 'c-cpp' | ||
run: | | ||
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.0-1_all.deb \ | ||
&& sudo dpkg -i cuda-keyring_1.0-1_all.deb \ | ||
&& sudo apt-get update \ | ||
&& sudo apt-get -y install cuda-cudart-dev-12-2 cuda-nvcc-12-2 | ||
python -m pip install tensorflow | ||
env: | ||
DEBIAN_FRONTEND: noninteractive | ||
# Initializes the CodeQL tools for scanning. | ||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v3 | ||
with: | ||
languages: ${{ matrix.language }} | ||
queries: security-extended,security-and-quality | ||
- name: "Run, Build Application using script" | ||
run: source/install/build_cc.sh | ||
env: | ||
DP_VARIANT: cuda | ||
DOWNLOAD_TENSORFLOW: "FALSE" | ||
if: matrix.language == 'c-cpp' | ||
|
||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v3 | ||
with: | ||
category: "/language:${{matrix.language}}" |
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.