-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (39 loc) · 1.18 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
os: linux
arch: ppc64le
dist: focal
sudo: required
# setup travis so that we can run containers for integration tests
services:
- docker
language: go
go:
- "1.17.x"
before_install:
- sudo apt update
- sudo apt install libbtrfs-dev btrfs-progs libnl-3-dev libnet-dev protobuf-c-compiler python libcap-dev libaio-dev libprotobuf-c-dev libprotobuf-dev socat libseccomp-dev
#- wget -c https://github.com/protocolbuffers/protobuf/releases/download/v3.7.1/protoc-3.7.1-linux-ppcle_64.zip
#- sudo unzip protoc-3.7.1-linux-ppcle_64.zip -d /usr/local
- go get github.com/opencontainers/runc
#- git clone https://github.com/opencontainers/runc.git
#- cd runc
- cd $GOPATH/src/github.com/opencontainers/runc
- make
- sudo make install
script:
- cd $GOPATH/src/github.com
- mkdir containerd
- cd containerd
- git clone https://github.com/containerd/containerd.git
- cd containerd
#- make VERSION="1.2.6"
- make
- sudo make install
- cd bin
- ls
- sudo chmod 777 containerd
- sudo ./containerd --version
- sudo ./containerd-shim -v
- sudo ./containerd-shim-runc-v1 -v
- sudo ./containerd-shim-runc-v2 -v
- sudo ./containerd-stress --help
- ./ctr --version