Skip to content

Commit 928a970

Browse files
aykevldeadprogram
authored andcommitted
ci: move Go version tests to buster containers
This fixes an error like the following: E: The method driver /usr/lib/apt/methods/https could not be found. N: Is the package apt-transport-https installed? Apparently apt.llvm.org has been switched over to HTTPS. One solution could be to install apt-transport-https, but another (easier) solution is to switch to a newer container. Note: I did not switch the other containers, to make sure TinyGo is still built with an older Debian release. That ensures the resulting binaries are relatively portable across distros, even relatively old distros.
1 parent 0c73d56 commit 928a970

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.circleci/config.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ commands:
1414
- run:
1515
name: "Install apt dependencies"
1616
command: |
17-
echo 'deb http://apt.llvm.org/stretch/ llvm-toolchain-stretch<<parameters.llvm>> main' | sudo tee /etc/apt/sources.list.d/llvm.list
17+
echo 'deb https://apt.llvm.org/buster/ llvm-toolchain-buster<<parameters.llvm>> main' | sudo tee /etc/apt/sources.list.d/llvm.list
1818
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add -
1919
sudo apt-get update
2020
sudo apt-get install \
@@ -308,17 +308,17 @@ commands:
308308
jobs:
309309
test-llvm9-go111:
310310
docker:
311-
- image: circleci/golang:1.11-stretch
311+
- image: circleci/golang:1.11-buster
312312
steps:
313313
- test-linux
314314
test-llvm9-go112:
315315
docker:
316-
- image: circleci/golang:1.12-stretch
316+
- image: circleci/golang:1.12-buster
317317
steps:
318318
- test-linux
319319
test-llvm9-go113:
320320
docker:
321-
- image: circleci/golang:1.13-stretch
321+
- image: circleci/golang:1.13-buster
322322
steps:
323323
- test-linux
324324
assert-test-linux:

0 commit comments

Comments
 (0)