"vscode:/vscode.git/clone" did not exist on "7619297698e264ece810ac48835f7e35c408e248"
Unverified Commit 993cfc57 authored by Peter Eastman's avatar Peter Eastman Committed by GitHub
Browse files

Attempt at fixing failing pypy build (#3860)

* Attempt at fixing failing pypy build

* Try using mambaforge

* Debugging

* A different approach to using mambaforge

* Try a separate environment file for pypy
parent 4068b915
...@@ -130,8 +130,8 @@ jobs: ...@@ -130,8 +130,8 @@ jobs:
-DOPENMM_BUILD_OPENCL_LIB=OFF \ -DOPENMM_BUILD_OPENCL_LIB=OFF \
-DOPENMM_BUILD_OPENCL_TESTS=OFF \ -DOPENMM_BUILD_OPENCL_TESTS=OFF \
- name: Linux CPU Pypy 3.7 - name: Linux CPU Pypy
python-version: "3.7.*=*pypy*" python-version: "pypy"
os: ubuntu-latest os: ubuntu-latest
OPENCL: false OPENCL: false
cuda-version: "" cuda-version: ""
...@@ -174,12 +174,24 @@ jobs: ...@@ -174,12 +174,24 @@ jobs:
- uses: conda-incubator/setup-miniconda@v2 - uses: conda-incubator/setup-miniconda@v2
name: "Prepare base dependencies" name: "Prepare base dependencies"
if: matrix.os != 'M1-arm64' if: matrix.python-version == 'pypy'
with:
activate-environment: build
environment-file: devtools/ci/gh-actions/conda-envs/build-ubuntu-pypy.yml
auto-activate-base: false
miniforge-variant: Mambaforge-pypy3
use-mamba: true
- uses: conda-incubator/setup-miniconda@v2
name: "Prepare base dependencies"
if: matrix.os != 'M1-arm64' && matrix.python-version != 'pypy'
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
activate-environment: build activate-environment: build
environment-file: devtools/ci/gh-actions/conda-envs/build-${{ matrix.os }}.yml environment-file: devtools/ci/gh-actions/conda-envs/build-${{ matrix.os }}.yml
auto-activate-base: false auto-activate-base: false
miniforge-variant: Mambaforge
use-mamba: true
- name: "Install CUDA on Ubuntu (if needed)" - name: "Install CUDA on Ubuntu (if needed)"
if: matrix.cuda-version != '' && startsWith(matrix.os, 'ubuntu') if: matrix.cuda-version != '' && startsWith(matrix.os, 'ubuntu')
......
name: build
channels:
- conda-forge
- bioconda
dependencies:
# build
- cmake
- make
- ccache
- sysroot_linux-64 2.17
# host
- pypy
- cython
- swig
- numpy
- ocl-icd-system
- doxygen 1.8.14
# test
- pytest
- pytest-xdist
- pytest-timeout
- gromacs 2018.*
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment