mirror of https://github.com/thesofproject/sof.git
15 lines
473 B
YAML
15 lines
473 B
YAML
language: c
|
|
|
|
git:
|
|
depth: false
|
|
|
|
services:
|
|
- docker
|
|
|
|
jobs:
|
|
include:
|
|
- name: "Build Test"
|
|
before_install: docker pull thesofproject/sof && docker tag thesofproject/sof sof
|
|
script:
|
|
- echo -e '#!/bin/bash\nmkdir build && cd build && cmake .. && make -Werror -Wall -Wmissing-prototypes -Wimplicit-fallthrough=3 -Wpointer-arith' > build.sh && chmod +x build.sh
|
|
- docker run -i -t -v `pwd`:/home/sof/work/sof.git --user `id -u` sof ./build.sh |