-
Notifications
You must be signed in to change notification settings - Fork 529
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
264 changed files
with
163,197 additions
and
2,183 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
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 |
---|---|---|
|
@@ -14,17 +14,17 @@ jobs: | |
include: | ||
# linux-64 | ||
- os: ubuntu-latest | ||
python: 310 | ||
python: 311 | ||
platform_id: manylinux_x86_64 | ||
dp_variant: cuda | ||
# macos-x86-64 | ||
- os: macos-latest | ||
python: 310 | ||
python: 311 | ||
platform_id: macosx_x86_64 | ||
dp_variant: cpu | ||
# win-64 | ||
- os: windows-2019 | ||
python: 310 | ||
python: 311 | ||
platform_id: win_amd64 | ||
dp_variant: cpu | ||
# linux-aarch64 | ||
|
@@ -42,7 +42,7 @@ jobs: | |
name: Setup QEMU | ||
if: matrix.platform_id == 'manylinux_aarch64' | ||
- name: Build wheels | ||
uses: pypa/[email protected].1 | ||
uses: pypa/[email protected].3 | ||
env: | ||
CIBW_BUILD_VERBOSITY: 1 | ||
CIBW_ARCHS: all | ||
|
@@ -61,7 +61,7 @@ jobs: | |
- uses: actions/setup-python@v4 | ||
name: Install Python | ||
with: | ||
python-version: '3.10' | ||
python-version: '3.11' | ||
- run: python -m pip install build | ||
- name: Build sdist | ||
run: python -m build --sdist | ||
|
@@ -73,16 +73,16 @@ jobs: | |
upload_pypi: | ||
needs: [build_wheels, build_sdist] | ||
runs-on: ubuntu-latest | ||
permissions: | ||
# IMPORTANT: this permission is mandatory for trusted publishing | ||
id-token: write | ||
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v') | ||
steps: | ||
- uses: actions/download-artifact@v3 | ||
with: | ||
name: artifact | ||
path: dist | ||
- uses: pypa/gh-action-pypi-publish@release/v1 | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.pypi_password }} | ||
|
||
build_docker: | ||
# use the already built wheels to build docker | ||
|
@@ -95,15 +95,15 @@ jobs: | |
name: artifact | ||
path: source/install/docker/dist | ||
- name: Log in to the Container registry | ||
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9 | ||
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Extract metadata (tags, labels) for Docker | ||
id: meta | ||
uses: docker/metadata-action@507c2f2dc502c992ad446e3d7a5dfbe311567a96 | ||
uses: docker/metadata-action@c4ee3adeed93b1fa6a762f209fb01608c1a22f1e | ||
with: | ||
images: ghcr.io/deepmodeling/deepmd-kit | ||
|
||
|
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.