-
Notifications
You must be signed in to change notification settings - Fork 295
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
37cab28
commit 397c45c
Showing
1 changed file
with
37 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name: CI | |
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
build-Linux: | ||
|
||
runs-on: ubuntu-22.04 | ||
|
||
|
@@ -50,3 +50,39 @@ jobs: | |
- name: Test | ||
run: | | ||
./install-prefix/bin/pymol -ckqy testing/testing.py --run all | ||
build-Windows: | ||
|
||
runs-on: windows-latest | ||
|
||
env: | ||
CONDA_ROOT: ${{github.workspace}}\..\tmp\mambaforge | ||
MAMBAFORGE_EXEC: ${{github.workspace}}\..\tmp\mambaforge.exe | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
- name: Download miniconda | ||
shell: cmd | ||
run: |- | ||
if not exist %CONDA_ROOT% mkdir %CONDA_ROOT% | ||
curl -L -o %MAMBAFORGE_EXEC% https://github.com/conda-forge/miniforge/releases/download/22.11.1-4/Mambaforge-22.11.1-4-Windows-x86_64.exe | ||
start /wait %MAMBAFORGE_EXEC% /S /D=%CONDA_ROOT% | ||
- name: Set up Miniconda | ||
shell: cmd | ||
run: |- | ||
CALL %CONDA_ROOT%\\Scripts\\activate.bat | ||
conda install -y -c conda-forge -c schrodinger python cmake libpng freetype pyqt glew libxml2 numpy catch2=2.13.3 glm libnetcdf 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 | ||
- name: Test | ||
run: | | ||
./install-prefix/bin/pymol -ckqy testing/testing.py --run all |