summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 395249af254ff846ea4ca8a57f4e33b82283285c (plain)
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
language: c

os: linux-ppc64le
group: ibm-cloud
dist: bionic

sudo: required

services: docker

env:
    matrix:
    - RUN_ON_CONTAINER=fedora-37
    - RUN_ON_CONTAINER=ubuntu-22.10

install:
    - docker build --pull -t ${RUN_ON_CONTAINER} -f ppc64-diag-ci/Dockerfile-${RUN_ON_CONTAINER} .

script:
    - >
      docker run
      --security-opt seccomp=unconfined
      --volume $HOME/.ccache:/root/.ccache
      --volume `pwd`:/build
      --tmpfs /tmp/
      --rm -t $RUN_ON_CONTAINER
      bash -c "./ppc64-diag-ci/build-${RUN_ON_CONTAINER}.sh";