mirror of
https://github.com/open-simh/simh.git
synced 2026-02-26 17:03:56 +00:00
Install prerequisite libraries for Travis CI.
This commit is contained in:
@@ -2,4 +2,6 @@ os:
|
||||
- linux
|
||||
- osx
|
||||
language: c
|
||||
sudo: required
|
||||
install: sh -ex .travis/deps.sh
|
||||
script: make all
|
||||
|
||||
15
.travis/deps.sh
Executable file
15
.travis/deps.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
|
||||
install_osx() {
|
||||
brew install sdl2
|
||||
brew install vde
|
||||
}
|
||||
|
||||
install_linux() {
|
||||
sudo apt-get update -yqqm
|
||||
sudo apt-get install -ym libegl1-mesa-dev libgles2-mesa-dev
|
||||
sudo apt-get install -ym libsdl2-dev libpcap-dev libvdeplug-dev
|
||||
sudo apt-get install -ym libsdl2-ttf-dev
|
||||
}
|
||||
|
||||
install_"$TRAVIS_OS_NAME"
|
||||
Reference in New Issue
Block a user