mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-01-06 05:33:29 +00:00
Merge pull request #216 from rickyzhang82/pr-add-xwidnow-to-travis
Beef up Travis CI with XWindows backend.
This commit is contained in:
commit
8f12a0fffb
51
.travis.yml
51
.travis.yml
@ -7,6 +7,7 @@ matrix:
|
|||||||
sudo: required
|
sudo: required
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
env :
|
env :
|
||||||
|
- WITH_SDL=1
|
||||||
- SDL_MAJOR_VERSION=1
|
- SDL_MAJOR_VERSION=1
|
||||||
- ADDRESSING_MODE=direct
|
- ADDRESSING_MODE=direct
|
||||||
- os: linux
|
- os: linux
|
||||||
@ -14,6 +15,7 @@ matrix:
|
|||||||
sudo: required
|
sudo: required
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
env :
|
env :
|
||||||
|
- WITH_SDL=1
|
||||||
- SDL_MAJOR_VERSION=1
|
- SDL_MAJOR_VERSION=1
|
||||||
- ADDRESSING_MODE=banks
|
- ADDRESSING_MODE=banks
|
||||||
- os: linux
|
- os: linux
|
||||||
@ -21,6 +23,7 @@ matrix:
|
|||||||
sudo: required
|
sudo: required
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
env :
|
env :
|
||||||
|
- WITH_SDL=1
|
||||||
- SDL_MAJOR_VERSION=2
|
- SDL_MAJOR_VERSION=2
|
||||||
- ADDRESSING_MODE=direct
|
- ADDRESSING_MODE=direct
|
||||||
- os: linux
|
- os: linux
|
||||||
@ -28,12 +31,34 @@ matrix:
|
|||||||
sudo: required
|
sudo: required
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
env :
|
env :
|
||||||
|
- WITH_SDL=1
|
||||||
- SDL_MAJOR_VERSION=2
|
- SDL_MAJOR_VERSION=2
|
||||||
- ADDRESSING_MODE=banks
|
- ADDRESSING_MODE=banks
|
||||||
|
- os: linux
|
||||||
|
dist: bionic
|
||||||
|
sudo: required
|
||||||
|
compiler: gcc
|
||||||
|
env :
|
||||||
|
- WITH_SDL=0
|
||||||
|
- ADDRESSING_MODE=direct
|
||||||
|
- os: linux
|
||||||
|
dist: bionic
|
||||||
|
sudo: required
|
||||||
|
compiler: gcc
|
||||||
|
env :
|
||||||
|
- WITH_SDL=0
|
||||||
|
- ADDRESSING_MODE=banks
|
||||||
- os: osx
|
- os: osx
|
||||||
compiler: clang
|
compiler: clang
|
||||||
osx_image: xcode12
|
osx_image: xcode12
|
||||||
|
env :
|
||||||
|
- WITH_SDL=0
|
||||||
|
- os: osx
|
||||||
|
compiler: clang
|
||||||
|
osx_image: xcode12
|
||||||
|
env :
|
||||||
|
- WITH_SDL=1
|
||||||
|
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
packages:
|
packages:
|
||||||
@ -51,15 +76,25 @@ script:
|
|||||||
- cd BasiliskII/src/Unix
|
- cd BasiliskII/src/Unix
|
||||||
- NO_CONFIGURE=1 ./autogen.sh
|
- NO_CONFIGURE=1 ./autogen.sh
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
||||||
if [[ $SDL_MAJOR_VERSION == *"1"* ]]; then
|
if [[ $WITH_SDL == *"1"* ]]; then
|
||||||
./configure --enable-sdl-video --enable-sdl-audio --disable-vosf --disable-jit-compiler --with-x --with-gtk --with-mon --enable-addressing=$ADDRESSING_MODE;
|
if [[ $SDL_MAJOR_VERSION == *"1"* ]]; then
|
||||||
make -j 4 || ERR_CODE=$?;
|
./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=$?;
|
||||||
|
else
|
||||||
|
./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=$?;
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
./configure --enable-sdl-video --enable-sdl-audio --disable-vosf --disable-jit-compiler --with-x --with-gtk --with-mon --with-sdl2 --enable-addressing=$ADDRESSING_MODE;
|
./configure --disable-jit-compiler --with-x --with-gtk --with-mon --enable-addressing=$ADDRESSING_MODE;
|
||||||
make -j 4 || ERR_CODE=$?;
|
make -j 4 || ERR_CODE=$?;
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
./configure --enable-sdl-video --enable-sdl-audio --disable-vosf --disable-jit-compiler --with-gtk=no --with-mon --with-sdl2 --enable-addressing=banks;
|
if [[ $WITH_SDL == *"1"* ]]; then
|
||||||
make -j 4 || ERR_CODE=$?;
|
./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=$?;
|
||||||
|
else
|
||||||
|
./configure --disable-vosf --disable-jit-compiler --with-gtk=no --with-mon --enable-addressing=banks;
|
||||||
|
make -j 4 || ERR_CODE=$?;
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
- (exit $ERR_CODE)
|
- (exit $ERR_CODE)
|
||||||
|
Loading…
Reference in New Issue
Block a user