Browse Source

ci: use SDL2 zip source archive

pull/2/head
Alibek Omarov 5 years ago
parent
commit
a38f561d7c
  1. 3
      .cirrus.yml
  2. 2
      .travis.yml
  3. 3
      scripts/travis_linux_deps.sh

3
.cirrus.yml

@ -3,6 +3,7 @@ task: @@ -3,6 +3,7 @@ task:
freebsd_instance:
image: freebsd-10-4-release-amd64
setup_script:
- git submodule update --init --recursive
- ./scripts/travis_linux_deps.sh
test_script:
- ./scripts/build_freebsd_engine.sh dedicated
@ -13,6 +14,7 @@ task: @@ -13,6 +14,7 @@ task:
freebsd_instance:
image: freebsd-11-3-stable-amd64-v20190801
setup_script:
- git submodule update --init --recursive
- ./scripts/travis_linux_deps.sh
test_script:
- ./scripts/build_freebsd_engine.sh dedicated
@ -23,6 +25,7 @@ task: @@ -23,6 +25,7 @@ task:
freebsd_instance:
image: freebsd-12-0-release-amd64
setup_script:
- git submodule update --init --recursive
- ./scripts/travis_linux_deps.sh
test_script:
- ./scripts/build_freebsd_engine.sh dedicated

2
.travis.yml

@ -37,6 +37,7 @@ jobs: @@ -37,6 +37,7 @@ jobs:
- libstdc++6:i386
- libfuse2:i386
- zlib1g:i386
- unzip
before_script:
- export ARCH=i686
- sh scripts/travis_common_deps.sh
@ -62,6 +63,7 @@ jobs: @@ -62,6 +63,7 @@ jobs:
- libasound-dev
- libstdc++6
- libfuse2
- unzip4
before_script:
- export ARCH=x86_64
- sh scripts/travis_common_deps.sh

3
scripts/travis_linux_deps.sh

@ -1,3 +1,4 @@ @@ -1,3 +1,4 @@
# SDL2 sources. We will build our own version
curl -s http://libsdl.org/release/SDL2-$SDL_VERSION.tar.gz | tar xzf -
curl http://libsdl.org/release/SDL2-$SDL_VERSION.zip -o SDL2.zip
unzip -x SDL2.zip
mv SDL2-$SDL_VERSION SDL2_src

Loading…
Cancel
Save