Skip to content

Commit

Permalink
update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
wojdyr committed Sep 17, 2024
1 parent 7691ee9 commit 0715d1d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
1 change: 1 addition & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ for:
install:
- if "%PY_PYTHON%"=="3.11" vcpkg install zlib-ng:x64-windows-static
- if "%PY_PYTHON%"=="3.10" vcpkg install zlib:x64-windows-static
- if "%PY_PYTHON%"=="3.10" py -m pip install typing_extensions
build_script:
- path
- cmake --version
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.13"
allow-prereleases: true
- name: build and test
run: |
python -m pip install -v .
Expand Down Expand Up @@ -126,6 +127,7 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install libz-dev python3-pip g++ gfortran python3-numpy
sudo python3 -m pip install -U typing_extensions sphinx
- name: install nanobind
run: |
git clone --recursive --depth=1 https://github.com/wjakob/nanobind.git
Expand All @@ -143,7 +145,6 @@ jobs:
strip --strip-unneeded ./gemmi ./gemmi.cpython*.so
- name: run doctest
run: |
sudo python3 -m pip install -U sphinx
export PYTHONPATH=$PWD/build
cd docs
sphinx-build -M doctest . _build -n -E
Expand All @@ -160,7 +161,7 @@ jobs:
sudo apt-get install libz-dev python3-pip g++ gfortran python3-numpy valgrind
- name: install nanobind
run: |
python3 -m pip install nanobind
python3 -m pip install nanobind typing_extensions sphinx
- name: build and test
run: |
g++ --version
Expand All @@ -175,7 +176,6 @@ jobs:
python3 -m unittest discover -v -s tests/
- name: run doctest
run: |
sudo pip3 install -U sphinx
cd docs
sphinx-build -M doctest . _build -n -E
- name: run tests under valgrind
Expand Down Expand Up @@ -219,7 +219,7 @@ jobs:
run: |
dnf update -y
dnf install -y gcc-c++ cmake make git python38-devel python38-pip
python3.8 -m pip install -U numpy
python3.8 -m pip install -U numpy typing_extensions sphinx
g++ --version
python3.8 --version
cmake --version
Expand All @@ -242,7 +242,6 @@ jobs:
strip --strip-unneeded ./gemmi ./gemmi.cpython*.so
- name: run doctest
run: |
python3.8 -m pip install -U sphinx
cd docs
PYTHONPATH=.. sphinx-build -M doctest . _build -n -E
- uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 0715d1d

Please sign in to comment.