Skip to content

Commit

Permalink
Update to newer machine images on CI (#1149)
Browse files Browse the repository at this point in the history
  • Loading branch information
manthey authored Dec 4, 2024
1 parent 2cf962c commit d978797
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
24 changes: 12 additions & 12 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,9 @@ commands:
- run:
name: Upgrade pyenv
command: |
rm -rf /opt/circleci/.pyenv
curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash
sudo rm -rf /opt/circleci/.pyenv
sudo bash -c 'curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | PYENV_ROOT=/opt/circleci/.pyenv bash'
sudo chmod -R 777 /opt/circleci/.pyenv/
pyenv install --list list
- run:
name: Use pyenv to install python
Expand All @@ -66,7 +67,7 @@ jobs:
py39:
working_directory: ~/project
machine:
image: ubuntu-2004:202111-02
image: ubuntu-2204:current
steps:
- checkout
- upgradepython:
Expand All @@ -92,7 +93,7 @@ jobs:
py310:
working_directory: ~/project
machine:
image: ubuntu-2004:202111-02
image: ubuntu-2204:current
steps:
- checkout
- upgradepython:
Expand All @@ -118,7 +119,7 @@ jobs:
py311:
working_directory: ~/project
machine:
image: ubuntu-2004:202111-02
image: ubuntu-2204:current
steps:
- checkout
- upgradepython:
Expand All @@ -144,7 +145,7 @@ jobs:
py312:
working_directory: ~/project
machine:
image: ubuntu-2004:202111-02
image: ubuntu-2204:current
steps:
- checkout
- upgradepython:
Expand Down Expand Up @@ -186,7 +187,7 @@ jobs:
docker:
working_directory: ~/project
machine:
image: ubuntu-2004:202111-02
image: ubuntu-2204:current
steps:
- checkout
- run:
Expand Down Expand Up @@ -218,7 +219,7 @@ jobs:
publish_docker:
working_directory: ~/project
machine:
image: ubuntu-2004:202111-02
image: ubuntu-2204:current
steps:
- checkout
- attach_workspace:
Expand All @@ -238,12 +239,11 @@ jobs:
fi
wheels:
working_directory: ~/project
docker:
- image: cimg/python:3.9
- image: docker:git
machine:
image: ubuntu-2204:current
steps:
- checkout
- setup_remote_docker
# - setup_remote_docker
- run:
name: Setup virtual environment
command: |
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile-wheels
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM dockcross/manylinux2014-x64
FROM dockcross/manylinux_2_28-x64

# Don't build python < 3.9
RUN rm -rf /opt/python/cp36*
Expand Down Expand Up @@ -63,4 +63,4 @@ RUN cd $htk_path && \
done && \
ls -l /io/wheelhouse && \
mkdir /io/wheels && \
cp /io/wheelhouse/histomicstk*many*2014* /io/wheels/.
cp /io/wheelhouse/histomicstk*manylinux* /io/wheels/.

0 comments on commit d978797

Please sign in to comment.