stages: - test - build before_script: - uname -a image: debian:unstable variables: GET_SOURCES_ATTEMPTS: "5" ARTIFACT_DOWNLOAD_ATTEMPTS: "5" .job-artifacts: &job-artifacts artifacts: paths: - logs - bin when: always expire_in: 3 months # self tests test:commands1: stage: test script: - ./.ci/install.sh git-core bash gcc g++ make autoconf automake autopoint gettext - ./.ci/runretry.sh ./getsrc.sh zlib - ls src/zlib - ./.ci/run.sh ./build.sh zlib - ls bin/zlib - ls tmp/zlib - grep "1.2.10" ./bin/zlib/lib/pkgconfig/zlib.pc - ./.ci/run.sh ./clean.sh zlib - mkdir bin/zlib - ./.ci/run.sh ./clean.sh zlib - ./.ci/runretry.sh ./updatesrc.sh zlib variables: srcbranch: v1.2.10 <<: *job-artifacts test:commands2: stage: test script: - ./.ci/install.sh git-core bash gcc g++ make autoconf automake autopoint gettext zlib1g-dev libtool - ./.ci/runretry.sh ./getsrc.sh curl - ls src/curl - ./.ci/run.sh ./build.sh curl - ls bin/curl - ls tmp/curl - grep "7.51" ./bin/curl/lib/pkgconfig/libcurl.pc - ./.ci/run.sh ./clean.sh curl - mkdir bin/curl - ./.ci/run.sh ./clean.sh curl - ./.ci/runretry.sh ./updatesrc.sh curl variables: srcbranch: curl-7_51_0 <<: *job-artifacts SDL_SDL-1.2: stage: build script: - ./.ci/install.sh git mercurial bash gcc g++ make autoconf automake autopoint gettext libtool pkg-config libx11-dev libxext-dev libxt-dev libxv-dev x11proto-core-dev libgl1-mesa-dev libasound2-dev - ./.ci/copyspm.sh - ./.ci/buildlib.sh SDL SDL-1.2 - ${runenvtool} ./.ci/buildlib.sh zlib v1.2.8 - ${runenvtool} ./.ci/buildlib.sh SDL_gfx master - ${runenvtool} ${runenvtoolz} ./.ci/buildlib.sh libpng master - ${runenvtool} ${runenvtoolz} ./.ci/buildlib.sh freetype master - ${runenvtool} ./.ci/buildlib.sh SDL_image SDL-1.2 - ${runenvtool} ./.ci/buildlib.sh SDL_mixer SDL-1.2 - ${runenvtool} ./.ci/buildlib.sh SDL_net SDL-1.2 - ${runenvtool} ./.ci/buildlib.sh SDL_ttf SDL-1.2 - ./.ci/copyfinal.sh - grep "1.2" /usr/local/spm/bin/SDL_SDL-1.2/lib/pkgconfig/sdl.pc variables: installname: SDL_SDL-1.2 runenvtool: /usr/local/spm/env/run${installname}.sh runenvtoolz: /usr/local/spm/env/runzlib_v1.2.8.sh <<: *job-artifacts SDL_default: stage: build script: - ./.ci/install.sh git mercurial bash gcc g++ make autoconf automake autopoint gettext libtool pkg-config libx11-dev libxext-dev libxt-dev libxv-dev x11proto-core-dev libgl1-mesa-dev libasound2-dev - ./.ci/copyspm.sh - ./.ci/buildlib.sh SDL2 default - cp /usr/local/spm/env/runSDL2_default.sh /usr/local/spm/env/runSDL_default.sh - ${runenvtool} ./.ci/buildlib.sh zlib v1.2.8 - ${runenvtool} ${runenvtoolz} ./.ci/buildlib.sh libpng master - ${runenvtool} ${runenvtoolz} ./.ci/buildlib.sh freetype master - ${runenvtool} ./.ci/buildlib.sh SDL2_image default - ${runenvtool} ./.ci/buildlib.sh SDL2_mixer default - ${runenvtool} ./.ci/buildlib.sh SDL2_net default - ${runenvtool} ./.ci/buildlib.sh SDL2_ttf default - ./.ci/copyfinal.sh variables: installname: SDL_default runenvtool: /usr/local/spm/env/run${installname}.sh runenvtoolz: /usr/local/spm/env/runzlib_v1.2.8.sh <<: *job-artifacts