mirror of
https://github.com/mupen64plus-ae/mupen64plus-video-glide64mk2.git
synced 2024-11-26 23:10:44 +00:00
76 lines
4.8 KiB
YAML
76 lines
4.8 KiB
YAML
sudo: required
|
|
dist: xenial
|
|
language: cpp
|
|
compiler:
|
|
- gcc
|
|
- clang
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- git
|
|
- libsdl1.2-dev
|
|
- libsdl2-dev
|
|
- libboost-filesystem-dev
|
|
- libboost-system-dev
|
|
- libgl1-mesa-dev
|
|
- libpng-dev
|
|
- pkg-config
|
|
- zlib1g-dev
|
|
before_install:
|
|
- git clone --depth=1 --branch=master git://github.com/mupen64plus/mupen64plus-core.git deps/mupen64plus-core
|
|
env:
|
|
- HIRES=0 TXCDXTN=0 NO_ASM=0
|
|
- HIRES=0 TXCDXTN=0 NO_ASM=1
|
|
- HIRES=0 TXCDXTN=1 NO_ASM=0
|
|
- HIRES=0 TXCDXTN=1 NO_ASM=1
|
|
- HIRES=1 TXCDXTN=0 NO_ASM=0
|
|
- HIRES=1 TXCDXTN=0 NO_ASM=1
|
|
- HIRES=1 TXCDXTN=1 NO_ASM=0
|
|
- HIRES=1 TXCDXTN=1 NO_ASM=1
|
|
script:
|
|
- make -C projects/unix APIDIR="$(pwd)/deps/mupen64plus-core/src/api/" V=1 clean && LDFLAGS="-Wl,--no-add-needed -Wl,--no-undefined" OPTFLAGS="-O2" make SDL_CONFIG=sdl-config CC="${CC}" CXX="${CXX}" -j$(nproc) -C projects/unix APIDIR="$(pwd)/deps/mupen64plus-core/src/api/" V=1 all
|
|
- make -C projects/unix APIDIR="$(pwd)/deps/mupen64plus-core/src/api/" V=1 clean && LDFLAGS="-Wl,--no-add-needed -Wl,--no-undefined" OPTFLAGS="-O2" make SDL_CONFIG=sdl2-config CC="${CC}" CXX="${CXX}" -j$(nproc) -C projects/unix APIDIR="$(pwd)/deps/mupen64plus-core/src/api/" V=1 all
|
|
|
|
# extra mxe build entries
|
|
matrix:
|
|
include:
|
|
- env:
|
|
- MXE_CPU=i686
|
|
- PATH="/usr/lib/mxe/usr/bin/:$PATH"
|
|
before_install:
|
|
- curl -sSL "https://mirror.mxe.cc/repos/apt/client-conf/mxeapt.gpg" | sudo -E apt-key add -
|
|
- echo "deb https://mirror.mxe.cc/repos/apt xenial main" | sudo tee -a /etc/apt/sources.list
|
|
- sudo apt-get update -qq
|
|
- sudo apt-get -y --allow-unauthenticated install mxe-i686-w64-mingw32.shared-gcc
|
|
- sudo apt-get -y --allow-unauthenticated install mxe-i686-w64-mingw32.shared-sdl2
|
|
- sudo apt-get -y --allow-unauthenticated install mxe-i686-w64-mingw32.shared-boost
|
|
- sudo apt-get -y --allow-unauthenticated install mxe-i686-w64-mingw32.shared-pthreads
|
|
- sudo apt-get -y --allow-unauthenticated install mxe-i686-w64-mingw32.shared-zlib
|
|
- sudo apt-get -y --allow-unauthenticated install mxe-i686-w64-mingw32.shared-libpng
|
|
- sudo apt-get -y --allow-unauthenticated install mxe-i686-w64-mingw32.shared-glew
|
|
- sudo apt-get -y --allow-unauthenticated install mxe-i686-w64-mingw32.shared-pkgconf
|
|
- git clone --depth=1 --branch=master git://github.com/mupen64plus/mupen64plus-core.git deps/mupen64plus-core
|
|
script:
|
|
- make UNAME=MINGW CROSS_COMPILE="${MXE_CPU}-w64-mingw32.shared-" CC="${MXE_CPU}-w64-mingw32.shared-gcc" CXX="${MXE_CPU}-w64-mingw32.shared-g++" HOST_CPU="${MXE_CPU}" SDL_CONFIG="${MXE_CPU}-w64-mingw32.shared-sdl2-config" -C projects/unix APIDIR="$(pwd)/deps/mupen64plus-core/src/api/" V=1 clean &&
|
|
make UNAME=MINGW CROSS_COMPILE="${MXE_CPU}-w64-mingw32.shared-" CC="${MXE_CPU}-w64-mingw32.shared-gcc" CXX="${MXE_CPU}-w64-mingw32.shared-g++" HOST_CPU="${MXE_CPU}" SDL_CONFIG="${MXE_CPU}-w64-mingw32.shared-sdl2-config" -C projects/unix APIDIR="$(pwd)/deps/mupen64plus-core/src/api/" V=1 -j$(nproc) all
|
|
|
|
- env:
|
|
- MXE_CPU=x86_64
|
|
- PATH="/usr/lib/mxe/usr/bin/:$PATH"
|
|
before_install:
|
|
- curl -sSL "https://mirror.mxe.cc/repos/apt/client-conf/mxeapt.gpg" | sudo -E apt-key add -
|
|
- echo "deb https://mirror.mxe.cc/repos/apt xenial main" | sudo tee -a /etc/apt/sources.list
|
|
- sudo apt-get update -qq
|
|
- sudo apt-get -y --allow-unauthenticated install mxe-x86-64-w64-mingw32.shared-gcc
|
|
- sudo apt-get -y --allow-unauthenticated install mxe-x86-64-w64-mingw32.shared-sdl2
|
|
- sudo apt-get -y --allow-unauthenticated install mxe-x86-64-w64-mingw32.shared-boost
|
|
- sudo apt-get -y --allow-unauthenticated install mxe-x86-64-w64-mingw32.shared-pthreads
|
|
- sudo apt-get -y --allow-unauthenticated install mxe-x86-64-w64-mingw32.shared-zlib
|
|
- sudo apt-get -y --allow-unauthenticated install mxe-x86-64-w64-mingw32.shared-libpng
|
|
- sudo apt-get -y --allow-unauthenticated install mxe-x86-64-w64-mingw32.shared-glew
|
|
- sudo apt-get -y --allow-unauthenticated install mxe-x86-64-w64-mingw32.shared-pkgconf
|
|
- git clone --depth=1 --branch=master git://github.com/mupen64plus/mupen64plus-core.git deps/mupen64plus-core
|
|
script:
|
|
- make UNAME=MINGW CROSS_COMPILE="${MXE_CPU}-w64-mingw32.shared-" CC="${MXE_CPU}-w64-mingw32.shared-gcc" CXX="${MXE_CPU}-w64-mingw32.shared-g++" HOST_CPU="${MXE_CPU}" SDL_CONFIG="${MXE_CPU}-w64-mingw32.shared-sdl2-config" -C projects/unix APIDIR="$(pwd)/deps/mupen64plus-core/src/api/" V=1 clean &&
|
|
make UNAME=MINGW CROSS_COMPILE="${MXE_CPU}-w64-mingw32.shared-" CC="${MXE_CPU}-w64-mingw32.shared-gcc" CXX="${MXE_CPU}-w64-mingw32.shared-g++" HOST_CPU="${MXE_CPU}" SDL_CONFIG="${MXE_CPU}-w64-mingw32.shared-sdl2-config" -C projects/unix APIDIR="$(pwd)/deps/mupen64plus-core/src/api/" V=1 -j$(nproc) all
|