Skip to content

fixing ci pipeline for python3.9 and python3.13 #601

fixing ci pipeline for python3.9 and python3.13

fixing ci pipeline for python3.9 and python3.13 #601

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build-Windows:
runs-on: windows-latest
strategy:
matrix:
python-version: ["3.9"]
steps:
- uses: actions/checkout@v4
- name: Install Miniforge
run: |
choco install miniforge3 --params="'/InstallationType:AllUsers /AddToPath:1'"
refreshenv
- name: Set up Miniforge
run: |
dir $end:CONDA_ROOT
miniforge3
gci env:* | sort-object name
conda init
conda config --set auto_activate_base false -q
conda create -n $env:CONDA_ENV_NAME pip python=${{ matrix.python-version }}
conda install --name $env:CONDA_ENV_NAME -y -c conda-forge -c schrodinger `
catch2=2.13.3 `
cxx-compiler `
collada2gltf `
freetype `
glew `
glm `
libpng `
libxml2 `
libnetcdf `
libffi
- name: Get additional sources
run: |
git clone --depth 1 https://github.com/rcsb/mmtf-cpp.git
Copy-Item -Recurse -Path mmtf-cpp/include/mmtf\* -Destination "$env:CONDA_PREFIX\Library\include"
git clone --depth 1 --single-branch --branch cpp_master https://github.com/msgpack/msgpack-c.git
Copy-Item -Recurse -Path msgpack-c/include/msgpack\* -Destination "$env:CONDA_PREFIX\Library\include"
- name: Build PyMOL
run: |
activate $env:CONDA_ENV_NAME
pip install -v --config-settings testing=True .[dev]
- name: Test
run: |
activate $env:CONDA_ENV_NAME
pymol -ckqy testing\testing.py --run all