diff options
author | Andrei Vagin <avagin@gmail.com> | 2019-11-11 20:26:38 -0800 |
---|---|---|
committer | Andrei Vagin <avagin@gmail.com> | 2020-02-21 22:44:19 -0800 |
commit | 75d7f76a6cd81d77f5ce70440c1d95c0296b15ba (patch) | |
tree | 23d0417d03a0c6c28d44c9881d3c9d8a49b91095 /.travis.yml | |
parent | 3733499952c056cc8496beb01c72dcf53177048e (diff) |
arm64: add a travis build ci
Build runsc and run "runsc do ls".
Signed-off-by: Andrei Vagin <avagin@gmail.com>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index e69de29bb..a2a260538 100644 --- a/.travis.yml +++ b/.travis.yml @@ -0,0 +1,19 @@ +language: minimal +sudo: required +dist: xenial +cache: + directories: + - /home/travis/.cache/bazel/ +services: + - docker +matrix: + include: + - os: linux + arch: amd64 + env: RUNSC_PATH=./bazel-bin/runsc/linux_amd64_pure_stripped/runsc + - os: linux + arch: arm64 + env: RUNSC_PATH=./bazel-bin/runsc/linux_arm64_pure_stripped/runsc +script: + - uname -a + - make DOCKER_RUN_OPTIONS="" BAZEL_OPTIONS="build runsc:runsc" bazel && $RUNSC_PATH --alsologtostderr --network none --debug --TESTONLY-unsafe-nonroot=true --rootless do ls |