@@ -11,8 +11,9 @@ commands:
11
11
sudo apt-get update
12
12
sudo apt-get install -y ninja-build libcunit1-dev valgrind clang doxygen python3-pip
13
13
# Install meson to the system packages so we can run it as root
14
+ pip install --upgrade pip wheel
14
15
sudo pip install meson
15
- pip install numpy==1.18.5
16
+ pip install --user numpy #Needed for some build steps in requirements.txt
16
17
pip install --user -r python/requirements/CI-complete/requirements.txt
17
18
# Remove tskit installed by msprime
18
19
pip uninstall tskit -y
@@ -153,7 +154,7 @@ commands:
153
154
jobs :
154
155
build :
155
156
docker :
156
- - image : cimg/python:3.7
157
+ - image : cimg/python:3.10
157
158
working_directory : /home/circleci/tskit
158
159
steps :
159
160
- checkout
@@ -162,10 +163,10 @@ jobs:
162
163
# It's sometimes necessary to nuke the cache, and the simplest
163
164
# way to do it is to change the key. We can increment this
164
165
# version number when we want to do this.
165
- key : tskit-{{ .Branch }}-v6
166
+ key : tskit-{{ .Branch }}-v8
166
167
- setup
167
168
- save_cache :
168
- key : tskit-{{ .Branch }}-v6
169
+ key : tskit-{{ .Branch }}-v8
169
170
paths :
170
171
- " /home/circleci/.local"
171
172
- compile_and_test
@@ -194,20 +195,21 @@ jobs:
194
195
195
196
build-32 :
196
197
docker :
197
- - image : tskitimages/testing-32bit:2 .0
198
+ - image : tskitimages/testing-32bit:4 .0
198
199
working_directory : /home/circleci/tskit
199
200
steps :
200
201
- checkout
201
202
- run : sudo chown -R circleci:circleci *
202
203
- restore_cache :
203
- key : tskit-32-{{ .Branch }}-v7
204
+ key : tskit-32-{{ .Branch }}-v8
204
205
- setup
205
206
- save_cache :
206
- key : tskit-32-{{ .Branch }}-v7
207
+ key : tskit-32-{{ .Branch }}-v8
207
208
paths :
208
209
- " /home/circleci/.local"
209
210
# We need to install curl for the codecov upload.
210
- - run : sudo apt-get install -y curl
211
+ - run : |
212
+ sudo apt-get install -y curl wget
211
213
- compile_and_test
212
214
213
215
workflows :
0 commit comments