mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
travis 5
This commit is contained in:
10
.travis.yml
10
.travis.yml
@@ -1,5 +1,11 @@
|
|||||||
language: cpp
|
language: cpp
|
||||||
|
|
||||||
install: ./configure -t
|
sudo: required
|
||||||
|
|
||||||
script: ./run -e 'init=/poweroff.out' -n
|
install: |
|
||||||
|
cd "$TRAVIS_BUILD_DIR"
|
||||||
|
./configure -t
|
||||||
|
|
||||||
|
script: |
|
||||||
|
cd "$TRAVIS_BUILD_DIR"
|
||||||
|
./run -e 'init=/poweroff.out' -n
|
||||||
|
|||||||
8
configure
vendored
8
configure
vendored
@@ -1,20 +1,18 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
s='sudo'
|
|
||||||
y=''
|
y=''
|
||||||
while getopts t OPT; do
|
while getopts t OPT; do
|
||||||
case "$OPT" in
|
case "$OPT" in
|
||||||
t)
|
t)
|
||||||
s=''
|
|
||||||
y='-y'
|
y='-y'
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
shift $(($OPTIND - 1))
|
shift $(($OPTIND - 1))
|
||||||
$s apt-get update $y
|
sudo apt-get update $y
|
||||||
# Building SDL for QEMU in Buildroot was rejected upstream because it adds many dependencies:
|
# Building SDL for QEMU in Buildroot was rejected upstream because it adds many dependencies:
|
||||||
# https://patchwork.ozlabs.org/patch/770684/
|
# https://patchwork.ozlabs.org/patch/770684/
|
||||||
# We are just using the host SDL for now, if it causes too much problems we might remove it.
|
# We are just using the host SDL for now, if it causes too much problems we might remove it.
|
||||||
# libsdl2-dev needs to be installed separatedly from sudo apt-get build-dep qemu
|
# libsdl2-dev needs to be installed separatedly from sudo apt-get build-dep qemu
|
||||||
# because Ubuntu 16.04's QEMU uses SDL 1.
|
# because Ubuntu 16.04's QEMU uses SDL 1.
|
||||||
$s apt-get install $y build-essential libsdl2-dev
|
sudo apt-get install $y build-essential libsdl2-dev
|
||||||
$s apt-get build-dep $y qemu
|
sudo apt-get build-dep $y qemu
|
||||||
|
|||||||
Reference in New Issue
Block a user