Skip to content

Commit

Permalink
test commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ye11owSub committed Feb 25, 2025
1 parent 3800029 commit bf74a95
Showing 1 changed file with 15 additions and 22 deletions.
37 changes: 15 additions & 22 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:

strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
python-version: ["3.9"]

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -69,44 +69,37 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Download Miniforge
shell: cmd
run: |
if not exist %CONDA_ROOT% mkdir %CONDA_ROOT%
curl -L -o %MINIFORGE_EXEC% https://github.com/conda-forge/miniforge/releases/download/24.11.0-0/Miniforge3-24.11.0-0-Windows-x86_64.exe
start /wait %MINIFORGE_EXEC% /S /D=%CONDA_ROOT%
- name: Set up Miniconda
uses: msys2/setup-miniconda@v2
with:
miniconda-version: 'latest'
python-version: ${{ matrix.python-version }}
activate-environment: false

- name: Set up Miniforge
shell: cmd
- name: Create a new conda environment
shell: bash
run: |
call %CONDA_ROOT%\Scripts\activate.bat
conda create -n %CONDA_ENV_NAME% python=${{ matrix.python-version }}
conda create -n %CONDA_ENV_NAME% python=${{ matrix.python-version }} -y
conda activate %CONDA_ENV_NAME%
conda install -y -c conda-forge -c schrodinger libpng freetype glew libxml2 catch2=2.13.3 glm libnetcdf collada2gltf libffi
conda install -y -c conda-forge -c schrodinger libpng freetype glew libxml2 catch2=2.13.3 glm libnetcdf collada2gltf libffi cxx-compiler
conda info
- name: Get additional sources
shell: cmd
shell: bash
run: |
call %CONDA_ROOT%\Scripts\activate.bat
conda activate %CONDA_ENV_NAME%
git clone --depth 1 https://github.com/rcsb/mmtf-cpp.git
cp -R mmtf-cpp/include/mmtf* %CONDA_PREFIX%/Library/include/
git clone --depth 1 --single-branch --branch cpp_master https://github.com/msgpack/msgpack-c.git
cp -R msgpack-c/include/msgpack* %CONDA_PREFIX%/Library/include/
- name: Build PyMOL
shell: cmd
shell: bash
run: |
call %CONDA_ROOT%\Scripts\activate.bat
conda activate %CONDA_ENV_NAME%
pip install -v --config-settings testing=True .[dev]
- name: Test
shell: cmd
shell: bash
run: |
call %CONDA_ROOT%\Scripts\activate.bat
conda activate %CONDA_ENV_NAME%
pymol -ckqy testing\testing.py --run all
build-MacOS:
Expand All @@ -115,7 +108,7 @@ jobs:

strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
python-version: ["3.9"]

env:
CONDA_ROOT: "/tmp/miniforge"
Expand Down

0 comments on commit bf74a95

Please sign in to comment.