mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-06-12 04:29:29 +00:00
Merge pull request #209 from rickyzhang82/pr-travis-ci
Beef up CI test cases
This commit is contained in:
commit
03f5cc8c79
35
.travis.yml
35
.travis.yml
|
@ -8,12 +8,31 @@ matrix:
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
env :
|
env :
|
||||||
- SDL_MAJOR_VERSION=1
|
- SDL_MAJOR_VERSION=1
|
||||||
|
- ADDRESSING_MODE=direct
|
||||||
|
- os: linux
|
||||||
|
dist: bionic
|
||||||
|
sudo: required
|
||||||
|
compiler: gcc
|
||||||
|
env :
|
||||||
|
- SDL_MAJOR_VERSION=1
|
||||||
|
- ADDRESSING_MODE=banks
|
||||||
- os: linux
|
- os: linux
|
||||||
dist: bionic
|
dist: bionic
|
||||||
sudo: required
|
sudo: required
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
env :
|
env :
|
||||||
- SDL_MAJOR_VERSION=2
|
- SDL_MAJOR_VERSION=2
|
||||||
|
- ADDRESSING_MODE=direct
|
||||||
|
- os: linux
|
||||||
|
dist: bionic
|
||||||
|
sudo: required
|
||||||
|
compiler: gcc
|
||||||
|
env :
|
||||||
|
- SDL_MAJOR_VERSION=2
|
||||||
|
- ADDRESSING_MODE=banks
|
||||||
|
- os: osx
|
||||||
|
compiler: clang
|
||||||
|
osx_image: xcode12
|
||||||
|
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
|
@ -21,18 +40,26 @@ addons:
|
||||||
- libsdl1.2-dev
|
- libsdl1.2-dev
|
||||||
- libgtk2.0-dev
|
- libgtk2.0-dev
|
||||||
- libsdl2-dev
|
- libsdl2-dev
|
||||||
|
homebrew:
|
||||||
|
packages:
|
||||||
|
- sdl2
|
||||||
|
- autoconf
|
||||||
|
- make
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- ERR_CODE=0
|
- ERR_CODE=0
|
||||||
|
- cd BasiliskII/src/Unix
|
||||||
|
- NO_CONFIGURE=1 ./autogen.sh
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
||||||
cd BasiliskII/src/Unix;
|
|
||||||
NO_CONFIGURE=1 ./autogen.sh;
|
|
||||||
if [[ $SDL_MAJOR_VERSION == *"1"* ]]; then
|
if [[ $SDL_MAJOR_VERSION == *"1"* ]]; then
|
||||||
./configure --enable-sdl-video --enable-sdl-audio --disable-vosf --disable-jit-compiler --with-x --with-gtk --with-mon;
|
./configure --enable-sdl-video --enable-sdl-audio --disable-vosf --disable-jit-compiler --with-x --with-gtk --with-mon --enable-addressing=$ADDRESSING_MODE;
|
||||||
make -j 4 || ERR_CODE=$?;
|
make -j 4 || ERR_CODE=$?;
|
||||||
else
|
else
|
||||||
./configure --enable-sdl-video --enable-sdl-audio --disable-vosf --disable-jit-compiler --with-x --with-gtk --with-mon --with-sdl2;
|
./configure --enable-sdl-video --enable-sdl-audio --disable-vosf --disable-jit-compiler --with-x --with-gtk --with-mon --with-sdl2 --enable-addressing=$ADDRESSING_MODE;
|
||||||
make -j 4 || ERR_CODE=$?;
|
make -j 4 || ERR_CODE=$?;
|
||||||
fi
|
fi
|
||||||
|
else
|
||||||
|
./configure --enable-sdl-video --enable-sdl-audio --disable-vosf --disable-jit-compiler --with-gtk=no --with-mon --with-sdl2 --enable-addressing=banks;
|
||||||
|
make -j 4 || ERR_CODE=$?;
|
||||||
fi
|
fi
|
||||||
- (exit $ERR_CODE)
|
- (exit $ERR_CODE)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user