mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-08-06 22:05:06 +00:00
Expand the TravisCI integration to test autotools on both Linux and OSX.
This commit is contained in:
parent
0946300663
commit
0f0a6c243d
29
.travis.yml
29
.travis.yml
@ -8,12 +8,31 @@ addons:
|
|||||||
- libsdl-gfx1.2-dev
|
- libsdl-gfx1.2-dev
|
||||||
- libsdl-ttf2.0-dev
|
- libsdl-ttf2.0-dev
|
||||||
- libglew-dev
|
- libglew-dev
|
||||||
|
os:
|
||||||
|
- linux
|
||||||
|
- osx
|
||||||
compiler:
|
compiler:
|
||||||
- gcc
|
- gcc
|
||||||
- clang
|
- clang
|
||||||
|
before_install:
|
||||||
|
- |-
|
||||||
|
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
||||||
|
brew update && brew install sdl sdl_gfx sdl_mixer sdl_ttf
|
||||||
|
# work around https://stackoverflow.com/questions/51034399/ for now
|
||||||
|
(cd /usr/local/include && ln -sf SDL/SDL.h)
|
||||||
|
fi
|
||||||
script:
|
script:
|
||||||
- autoreconf -fiv
|
- |-
|
||||||
- ./configure
|
# Build hyperrogue.
|
||||||
- make
|
autoreconf -vi
|
||||||
- sudo make install
|
./configure
|
||||||
- ./hyperrogue --help
|
make
|
||||||
|
- |-
|
||||||
|
# Test hyperrogue.
|
||||||
|
./hyperrogue --help
|
||||||
|
- |-
|
||||||
|
# Test "make dist". ("make distcheck" is expected to fail.)
|
||||||
|
make dist
|
||||||
|
- |-
|
||||||
|
# Test "sudo make install".
|
||||||
|
sudo make install
|
||||||
|
Loading…
x
Reference in New Issue
Block a user