Skip to content

Commit

Permalink
winonly check
Browse files Browse the repository at this point in the history
  • Loading branch information
JarrettSJohnson committed May 12, 2024
1 parent bab6de7 commit 90160b4
Showing 1 changed file with 85 additions and 82 deletions.
167 changes: 85 additions & 82 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,55 +1,55 @@
name: CI
name: CI-WinDebug

on: [push, pull_request]

jobs:
build-Linux:

runs-on: ubuntu-22.04

steps:
- uses: actions/[email protected]

- name: Install system dependencies
run: >
sudo apt-get update;
sudo apt-get --no-install-recommends install
catch2
cmake
libfreetype6-dev
libglew-dev
libglm-dev
libmsgpack-dev
libnetcdf-dev
libpng-dev
libxml2-dev
python-is-python3
python3-biopython
python3-dev
python3-setuptools
python3-numpy
python3-pil
python3-pytest
- name: Install collada2gltf
run: |
wget -nv https://anaconda.org/schrodinger/collada2gltf/2.1.4/download/linux-64/collada2gltf-2.1.4-h6bb024c_0.tar.bz2
sudo tar xf collada2gltf-*.tar.bz2 -C / bin/collada2gltf
- name: Get additional sources
run: |
git clone --depth 1 https://github.com/rcsb/mmtf-cpp.git
cp -R mmtf-cpp/include/mmtf* include/
- name: Build
run: |
python setup.py --testing install --prefix=install-prefix
env:
DEBUG: 1

- name: Test
run: |
./install-prefix/bin/pymol -ckqy testing/testing.py --run all
# build-Linux:

# runs-on: ubuntu-22.04

# steps:
# - uses: actions/[email protected]

# - name: Install system dependencies
# run: >
# sudo apt-get update;
# sudo apt-get --no-install-recommends install
# catch2
# cmake
# libfreetype6-dev
# libglew-dev
# libglm-dev
# libmsgpack-dev
# libnetcdf-dev
# libpng-dev
# libxml2-dev
# python-is-python3
# python3-biopython
# python3-dev
# python3-setuptools
# python3-numpy
# python3-pil
# python3-pytest

# - name: Install collada2gltf
# run: |
# wget -nv https://anaconda.org/schrodinger/collada2gltf/2.1.4/download/linux-64/collada2gltf-2.1.4-h6bb024c_0.tar.bz2
# sudo tar xf collada2gltf-*.tar.bz2 -C / bin/collada2gltf

# - name: Get additional sources
# run: |
# git clone --depth 1 https://github.com/rcsb/mmtf-cpp.git
# cp -R mmtf-cpp/include/mmtf* include/

# - name: Build
# run: |
# python setup.py --testing install --prefix=install-prefix
# env:
# DEBUG: 1

# - name: Test
# run: |
# ./install-prefix/bin/pymol -ckqy testing/testing.py --run all

build-Windows:

Expand Down Expand Up @@ -95,40 +95,43 @@ jobs:
- name: Test
shell: cmd
run: |
dir %GITHUB_WORKSPACE%
dir %GITHUB_WORKSPACE%\\install-prefix
dir %GITHUB_WORKSPACE%\\install-prefix\\Scripts
CALL %CONDA_ROOT%\\Scripts\\activate.bat
%GITHUB_WORKSPACE%\\install-prefix\\Scripts\\pymol.bat -ckqy testing\\testing.py --run all
build-MacOS:

runs-on: macos-latest

env:
CONDA_ROOT: "/tmp/miniconda"
MAMBAFORGE_EXEC: ${{github.workspace}}\..\tmp\mambaforge.exe

steps:
- uses: actions/[email protected]
- name: Set up Miniconda and Build
run: |-
curl -L -o $CONDA_ROOT.sh https://github.com/conda-forge/miniforge/releases/download/24.3.0-0/Mambaforge-MacOSX-x86_64.sh
bash $CONDA_ROOT.sh -b -p $CONDA_ROOT
export PATH="$CONDA_ROOT/bin:$PATH"
conda config --set quiet yes
conda install -y -c conda-forge -c schrodinger python cmake libpng freetype pyqt glew libxml2 numpy catch2=2.13.3 glm libnetcdf collada2gltf pytest
conda info
- name: Get additional sources
run: |
git clone --depth 1 https://github.com/rcsb/mmtf-cpp.git
cp -R mmtf-cpp/include/mmtf* include/
- name: Build PyMOL
run: |-
export MACOSX_DEPLOYMENT_TARGET=12.0
export PATH="$CONDA_ROOT/bin:$PATH"
python setup.py install --prefix=${GITHUB_WORKSPACE}/install-prefix
- name: Test
run: |-
export PATH="$CONDA_ROOT/bin:$PATH"
${GITHUB_WORKSPACE}/install-prefix/bin/pymol -ckqy testing/testing.py --run all
# build-MacOS:

# runs-on: macos-latest

# env:
# CONDA_ROOT: "/tmp/miniconda"
# MAMBAFORGE_EXEC: ${{github.workspace}}\..\tmp\mambaforge.exe

# steps:
# - uses: actions/[email protected]
# - name: Set up Miniconda and Build
# run: |-
# curl -L -o $CONDA_ROOT.sh https://github.com/conda-forge/miniforge/releases/download/24.3.0-0/Mambaforge-MacOSX-x86_64.sh
# bash $CONDA_ROOT.sh -b -p $CONDA_ROOT
# export PATH="$CONDA_ROOT/bin:$PATH"
# conda config --set quiet yes
# conda install -y -c conda-forge -c schrodinger python cmake libpng freetype pyqt glew libxml2 numpy catch2=2.13.3 glm libnetcdf collada2gltf pytest
# conda info

# - name: Get additional sources
# run: |
# git clone --depth 1 https://github.com/rcsb/mmtf-cpp.git
# cp -R mmtf-cpp/include/mmtf* include/

# - name: Build PyMOL
# run: |-
# export MACOSX_DEPLOYMENT_TARGET=12.0
# export PATH="$CONDA_ROOT/bin:$PATH"
# python setup.py install --prefix=${GITHUB_WORKSPACE}/install-prefix

# - name: Test
# run: |-
# export PATH="$CONDA_ROOT/bin:$PATH"
# ${GITHUB_WORKSPACE}/install-prefix/bin/pymol -ckqy testing/testing.py --run all

0 comments on commit 90160b4

Please sign in to comment.