Skip to content
This repository was archived by the owner on Nov 25, 2022. It is now read-only.

Commit 8a8e046

Browse files
authored
Merge pull request #136 from matrix-org/kegan/complement-with-libolm3
Install libolm3 from buster backports so complement builds
2 parents dd50d87 + d26478d commit 8a8e046

File tree

1 file changed

+4
-30
lines changed

1 file changed

+4
-30
lines changed

complement/pipeline.yml

Lines changed: 4 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -4,37 +4,11 @@
44
# compromises this and other Buildkite agents.
55

66
steps:
7+
# Build and lint
78
- command:
8-
- apt-get update && apt-get install -y libolm-dev
9-
- go build -tags="*" ./internal/...
10-
label: "\U0001F528 Build Complement / :go: 1.13"
11-
plugins:
12-
- docker#v3.7.0:
13-
image: "golang:1.13"
14-
mount-buildkite-agent: false
15-
retry:
16-
automatic:
17-
- exit_status: 128
18-
limit: 3
19-
20-
- command:
21-
- apt-get update && apt-get install -y libolm-dev
22-
- go build -tags="*" ./internal/...
23-
label: "\U0001F528 Build Complement / :go: 1.15"
24-
plugins:
25-
- docker#v3.7.0:
26-
image: "golang:1.15"
27-
mount-buildkite-agent: false
28-
retry:
29-
automatic:
30-
- exit_status: 128
31-
limit: 3
32-
33-
- wait
34-
35-
# Linting can take a while. Run it after the wait to not block the test suite runs
36-
- command:
37-
- ./build/scripts/find-lint.sh
9+
- echo "deb http://deb.debian.org/debian buster-backports main" > /etc/apt/sources.list.d/complement.list
10+
- apt-get update && apt-get install -y libolm3 libolm-dev/buster-backports
11+
- ./build/scripts/build-and-lint.sh
3812
label: "\U0001F9F9 Lint / :go: 1.15"
3913
agents:
4014
# Use a larger instance as linting takes a lot of memory

0 commit comments

Comments
 (0)