-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Conflicts: # molecularnodes/entities/molecule/pdbx.py # molecularnodes/entities/molecule/ui.py
- Loading branch information
Showing
19 changed files
with
7,829 additions
and
4,388 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 |
---|---|---|
@@ -0,0 +1,55 @@ | ||
name: Build Extension | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
env: | ||
BLENDER_VERSION: blender-4.2.0-linux-x64 | ||
ADDON_NAME: molecularnodes | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: SebRollen/[email protected] | ||
id: read_manifest | ||
with: | ||
file: '${{ env.ADDON_NAME }}/blender_manifest.toml' | ||
field: 'version' | ||
- name: Set derived environment variables | ||
run: | | ||
echo "BLENDER_FILENAME=${{ env.BLENDER_VERSION }}.tar.xz" >> $GITHUB_ENV | ||
echo "BLENDER_URL=https://mirrors.iu13.net/blender/release/Blender4.2/${{ env.BLENDER_VERSION }}.tar.xz" >> $GITHUB_ENV | ||
- name: Install Blender Dependencies | ||
run: | | ||
sudo apt-get install libxxf86vm-dev -y | ||
sudo apt-get install libxfixes3 -y | ||
sudo apt-get install libxi-dev -y | ||
sudo apt-get install libxkbcommon-x11-0 -y | ||
sudo apt-get install libgl1-mesa-glx -y | ||
- name: Download & Extract Blender | ||
run: | | ||
wget -q $BLENDER_URL | ||
tar -xf $BLENDER_FILENAME | ||
rm -rf $BLENDER_FILENAME | ||
- name: Add Blender executable to path | ||
run: | | ||
echo "${{ github.workspace }}/${{ env.BLENDER_VERSION }}/" >> $GITHUB_PATH | ||
- name: Build extension | ||
run: | | ||
blender -b -P tests/python.py -- -m pip install tomlkit | ||
blender -b -P build.py | ||
mkdir artifact | ||
mv ${{ env.ADDON_NAME }}-${{ steps.read_manifest.outputs.value }}-*.zip ./artifact/. | ||
- name: Archive addon | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
# name: ${{ env.ADDON_NAME }}-${{ github.ref_name }}-${{ github.sha }} | ||
name: ${{ env.ADDON_NAME }}-${{ github.sha }} | ||
retention-days: 3 | ||
path: | | ||
./artifact/* |
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
Binary file not shown.
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
schema_version = "1.0.0" | ||
|
||
id = "molecularnodes" | ||
version = "4.2.4" | ||
version = "4.2.5" | ||
name = "Molecular Nodes" | ||
tagline = "A toolbox for molecular import and animation in Blender" | ||
maintainer = "Brady Johnston<[email protected]>" | ||
|
@@ -50,10 +50,10 @@ wheels = [ | |
"./wheels/kiwisolver-1.4.5-cp311-cp311-macosx_11_0_arm64.whl", | ||
"./wheels/kiwisolver-1.4.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", | ||
"./wheels/kiwisolver-1.4.5-cp311-cp311-win_amd64.whl", | ||
"./wheels/matplotlib-3.9.1-cp311-cp311-macosx_10_12_x86_64.whl", | ||
"./wheels/matplotlib-3.9.1-cp311-cp311-macosx_11_0_arm64.whl", | ||
"./wheels/matplotlib-3.9.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", | ||
"./wheels/matplotlib-3.9.1-cp311-cp311-win_amd64.whl", | ||
"./wheels/matplotlib-3.9.1.post1-cp311-cp311-macosx_10_12_x86_64.whl", | ||
"./wheels/matplotlib-3.9.1.post1-cp311-cp311-macosx_11_0_arm64.whl", | ||
"./wheels/matplotlib-3.9.1.post1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", | ||
"./wheels/matplotlib-3.9.1.post1-cp311-cp311-win_amd64.whl", | ||
"./wheels/mda_xdrlib-0.2.0-py3-none-any.whl", | ||
"./wheels/mmtf_python-1.1.3-py2.py3-none-any.whl", | ||
"./wheels/mrcfile-1.4.3-py2.py3-none-any.whl", | ||
|
@@ -81,7 +81,7 @@ wheels = [ | |
"./wheels/six-1.16.0-py2.py3-none-any.whl", | ||
"./wheels/starfile-0.5.6-py3-none-any.whl", | ||
"./wheels/threadpoolctl-3.5.0-py3-none-any.whl", | ||
"./wheels/tqdm-4.66.4-py3-none-any.whl", | ||
"./wheels/tqdm-4.66.5-py3-none-any.whl", | ||
"./wheels/typing_extensions-4.12.2-py3-none-any.whl", | ||
"./wheels/tzdata-2024.1-py2.py3-none-any.whl", | ||
] | ||
|
Oops, something went wrong.