File tree Expand file tree Collapse file tree 2 files changed +73
-0
lines changed
Expand file tree Collapse file tree 2 files changed +73
-0
lines changed Original file line number Diff line number Diff line change 1+ name : OpenMM-ML-Build-Wheels
2+
3+ env :
4+ GIT_REVISION : ' de434cf'
5+
6+ on :
7+ push :
8+ branches :
9+ - " main"
10+ pull_request :
11+ branches :
12+ - " main"
13+
14+ jobs :
15+ linux :
16+ runs-on : ${{ matrix.os }}
17+ container :
18+ image : quay.io/pypa/manylinux_2_34_x86_64
19+ name : " ${{ matrix.name }} ${{ matrix.python-version}}"
20+ strategy :
21+ matrix :
22+ python-version : ["3.13"]
23+ include :
24+ - name : Linux x86
25+ os : ubuntu-latest
26+ requirements : linux
27+
28+ steps :
29+ - uses : actions/checkout@v3
30+
31+ - uses : mamba-org/setup-micromamba@v1
32+ with :
33+ environment-name : build-env
34+ create-args : >-
35+ python=${{ matrix.python-version }}
36+ init-shell : bash
37+
38+ - name : " Install dependencies with pip"
39+ shell : bash -l {0}
40+ run : pip install -v -r devtools/requirements/${{ matrix.requirements }}.txt
41+
42+ - name : " Check out OpenMM-ML source code"
43+ run : |
44+ git clone https://github.com/openmm/openmm-ml.git
45+ cd openmm-ml
46+ git checkout $GIT_REVISION
47+
48+ - name : " Build wheel"
49+ shell : bash -l {0}
50+ run : |
51+ cd openmm-ml
52+ python setup.py bdist_wheel
53+
54+ - name : " Test the wheel"
55+ shell : bash -l {0}
56+ run : |
57+ python -m venv "${HOME}/test_env"
58+ source "${HOME}/test_env/bin/activate"
59+ cd openmm-ml
60+ pip install --pre -f dist openmmml
61+ python -c "import openmmml"
62+
63+ - name : " Upload the wheel"
64+ uses : actions/upload-artifact@v4
65+ with :
66+ name : openmmml-wheel-${{matrix.python-version}}
67+ path : openmm-ml/dist
68+ retention-days : 10
Original file line number Diff line number Diff line change 1+ openmm >= 8.4
2+ openmmtorch
3+ numpy
4+ wheel
5+ setuptools
You can’t perform that action at this time.
0 commit comments