[Skiboot] [PATCH 2/3] travis: Add external/opal-prd build and tests
Cyril Bur
cyril.bur at au1.ibm.com
Tue Dec 22 13:45:18 AEDT 2015
Signed-off-by: Cyril Bur <cyril.bur at au1.ibm.com>
---
Don't have an actual file to run with test_pnor so for now it is just
built. Will be trivial to add a file and actually run the test.
.travis.yml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/.travis.yml b/.travis.yml
index 72cb0e4..6dde32c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -24,11 +24,16 @@ env:
# via the "travis encrypt" command using the project repo's public key
- secure: "MpNEGFa1VrF/vsQq24n5UgfRbz1wVC6B8mubFnyK4gX0IuQ9xhWuTzMLUQF9UJxe5jnC2DTmVUvYTYN/hggw+PpYwbOOAE0QGR5pmPHA4PSRmc5pxt1q18/sv7EPFw66GFyWJq94nWjpigyKQ8KGtA67j1xFqrDoS43OA76WZgo="
+before_script:
+ - mkdir -p external/opal-prd/asm
+ - wget https://raw.githubusercontent.com/open-power/linux/master/arch/powerpc/include/uapi/asm/opal-prd.h -O external/opal-prd/asm/opal-prd.h
+
script:
- (cd opal-ci; ./build-qemu-powernv.sh)
- ./opal-ci/fetch-debian-jessie-installer.sh
- make -j4 all check ; (make clean; cd external/gard && make)
- (cd external/pflash; ./build-all-arch.sh)
+ - (cd external/opal-prd && CROSS_COMPILE=powerpc64le-linux-gnu- make && make clean && make test)
- make clean && SKIBOOT_GCOV=1 make && SKIBOOT_GCOV=1 make check
- make clean && rm -rf builddir && mkdir builddir && make SRC=`pwd` -f ../Makefile -C builddir
- make clean
--
2.6.4
More information about the Skiboot
mailing list