4
4
win : circleci/windows@5.0
5
5
6
6
executors :
7
- bionic :
7
+ ubuntu :
8
8
docker :
9
- - image : buildpack-deps:bionic
9
+ - image : buildpack-deps:focal
10
10
mac :
11
11
environment :
12
12
EMSDK_NOTTY : " 1"
@@ -50,22 +50,20 @@ commands:
50
50
51
51
jobs :
52
52
flake8 :
53
- executor : bionic
53
+ executor : ubuntu
54
54
steps :
55
55
- checkout
56
56
- run :
57
57
name : install pip
58
58
command : |
59
59
apt-get update -q
60
- apt-get install -q -y python-pip python3-pip
61
- - run : python2 -m pip install --upgrade pip
60
+ apt-get install -q -y python3-pip
62
61
- run : python3 -m pip install --upgrade pip
63
- - run : python2 -m pip install flake8==3.9.2
64
62
- run : python3 -m pip install flake8==3.9.2
65
- - run : python2 -m flake8 --show-source --statistics --extend-exclude=./scripts
66
- - run : python3 -m flake8 --show-source --statistics
63
+ - run : python3 -m flake8 --show-source --statistics --extend-exclude=./scripts
64
+
67
65
test-linux :
68
- executor : bionic
66
+ executor : ubuntu
69
67
environment :
70
68
EMSDK_NOTTY : " 1"
71
69
# This is needed because the old gcc-7 that is installed on debian/bionic
@@ -174,12 +172,19 @@ jobs:
174
172
test/test_path_preservation.ps1
175
173
176
174
build-docker-image-x64 :
177
- executor : bionic
175
+ executor : ubuntu
178
176
steps :
179
177
- checkout
180
178
- run :
181
179
name : install docker
182
- command : apt-get update -q && apt-get install -q -y docker.io
180
+ command : |
181
+ apt-get update -q
182
+ apt-get install -q -y ca-certificates curl gnupg lsb-release
183
+ mkdir -p /etc/apt/keyrings
184
+ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
185
+ echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null
186
+ apt-get update -q
187
+ apt-get install -q -y docker-ce docker-ce-cli containerd.io docker-compose-plugin
183
188
- setup_remote_docker
184
189
# Build the `latest` version of EMSDK as docker image
185
190
- run :
@@ -190,12 +195,19 @@ jobs:
190
195
command : make -C ./docker version=latest test
191
196
192
197
publish-docker-image-x64 :
193
- executor : bionic
198
+ executor : ubuntu
194
199
steps :
195
200
- checkout
196
201
- run :
197
202
name : install docker
198
- command : apt-get update -q && apt-get install -q -y docker.io
203
+ command : |
204
+ apt-get update -q
205
+ apt-get install -q -y ca-certificates curl gnupg lsb-release
206
+ mkdir -p /etc/apt/keyrings
207
+ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
208
+ echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null
209
+ apt-get update -q
210
+ apt-get install -q -y docker-ce docker-ce-cli containerd.io docker-compose-plugin
199
211
- setup_remote_docker
200
212
- run :
201
213
name : build
@@ -226,7 +238,7 @@ jobs:
226
238
make -C ./docker version=${CIRCLE_TAG} alias=${CIRCLE_TAG}-arm64 only_alias=true push
227
239
228
240
test-bazel-linux :
229
- executor : bionic
241
+ executor : ubuntu
230
242
steps :
231
243
- checkout
232
244
- run : apt-get install -q -y curl gnupg
0 commit comments