2017-10-10 03:34:01 +02:00
|
|
|
git:
|
|
|
|
depth: 3
|
|
|
|
|
|
|
|
language: cpp
|
2020-07-15 04:15:26 +02:00
|
|
|
os: linux
|
|
|
|
dist: xenial
|
2017-10-10 03:34:01 +02:00
|
|
|
|
2020-07-15 04:15:26 +02:00
|
|
|
jobs:
|
2017-10-10 03:34:01 +02:00
|
|
|
fast_finish: true
|
|
|
|
include:
|
|
|
|
- os: linux
|
2020-05-14 01:51:31 +02:00
|
|
|
dist: trusty
|
2017-10-10 03:34:01 +02:00
|
|
|
language: cpp
|
|
|
|
addons:
|
|
|
|
apt:
|
2020-05-14 01:51:31 +02:00
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
2021-03-07 13:50:15 +01:00
|
|
|
packages: ['clang-3.8', 'lib32stdc++6', 'lib32z1-dev', 'libc6-dev-i386', 'linux-libc-dev:i386', 'g++-4.9-multilib', 'python3-pip']
|
2020-05-14 01:51:31 +02:00
|
|
|
env:
|
|
|
|
- MATRIX_EVAL="CC=clang-3.8 && CXX=clang++-3.8"
|
2020-07-30 15:36:24 +02:00
|
|
|
- SDKS=episode1,css,tf2,l4d2,csgo
|
2020-05-14 01:51:31 +02:00
|
|
|
- MODE=optimize
|
2020-08-16 06:25:25 +02:00
|
|
|
- ARCH=x86,x86_64
|
2017-10-10 03:34:01 +02:00
|
|
|
|
|
|
|
- os: linux
|
2020-05-14 01:51:31 +02:00
|
|
|
dist: trusty
|
2017-10-10 03:34:01 +02:00
|
|
|
language: cpp
|
|
|
|
addons:
|
|
|
|
apt:
|
2020-05-14 01:51:31 +02:00
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
2021-03-07 13:50:15 +01:00
|
|
|
packages: ['clang-3.4', 'lib32stdc++6', 'lib32z1-dev', 'libc6-dev-i386', 'linux-libc-dev:i386', 'g++-4.9-multilib', 'python3-pip']
|
2020-05-14 01:51:31 +02:00
|
|
|
env:
|
|
|
|
- MATRIX_EVAL="CC=clang && CXX=clang++"
|
2020-07-30 15:36:24 +02:00
|
|
|
- SDKS=episode1,css,tf2,l4d2,csgo
|
2020-05-14 01:51:31 +02:00
|
|
|
- MODE=optimize
|
2020-08-16 06:25:25 +02:00
|
|
|
- ARCH=x86,x86_64
|
2017-10-10 03:34:01 +02:00
|
|
|
|
2020-05-14 01:51:31 +02:00
|
|
|
- os: osx
|
|
|
|
osx_image: xcode7.2
|
2017-10-10 03:34:01 +02:00
|
|
|
language: cpp
|
2020-05-14 01:51:31 +02:00
|
|
|
env:
|
|
|
|
- MATRIX_EVAL="CC=clang && CXX=clang++"
|
2020-07-30 15:36:24 +02:00
|
|
|
- SDKS=episode1,css,tf2,l4d2,csgo
|
2020-05-14 01:51:31 +02:00
|
|
|
- MODE=optimize
|
2020-08-16 06:25:25 +02:00
|
|
|
- ARCH=x86_64,x86
|
2017-10-10 03:34:01 +02:00
|
|
|
|
2020-05-14 01:51:31 +02:00
|
|
|
# # This is a faster test for the latest g++.
|
|
|
|
# - os: linux
|
|
|
|
# dist: bionic
|
|
|
|
# sudo: false
|
|
|
|
# language: cpp
|
|
|
|
# addons:
|
|
|
|
# apt:
|
|
|
|
# packages: ['lib32stdc++6', 'lib32z1-dev', 'libc6-dev-i386', 'linux-libc-dev:i386', 'g++-multilib', 'g++']
|
|
|
|
# cache:
|
|
|
|
# directories: ['../mysql-5.0']
|
|
|
|
# env:
|
|
|
|
# - MATRIX_EVAL="CC=gcc && CXX=g++"
|
|
|
|
# - SDKS=csgo
|
|
|
|
# # GCC currently fails in opt builds trying to inline stuff in sqlite3.c.
|
|
|
|
# - MODE=debug
|
2017-10-10 03:34:01 +02:00
|
|
|
|
2020-05-14 01:51:31 +02:00
|
|
|
# This is a faster test for the latest clang.
|
2017-10-10 03:34:01 +02:00
|
|
|
- os: linux
|
2020-05-14 01:51:31 +02:00
|
|
|
dist: bionic
|
2017-10-10 03:34:01 +02:00
|
|
|
language: cpp
|
|
|
|
addons:
|
|
|
|
apt:
|
2020-05-14 01:51:31 +02:00
|
|
|
packages: ['lib32stdc++6', 'lib32z1-dev', 'libc6-dev-i386', 'linux-libc-dev:i386', 'g++-multilib', 'clang']
|
|
|
|
env:
|
|
|
|
- MATRIX_EVAL="CC=clang && CXX=clang++"
|
|
|
|
- SDKS=csgo
|
|
|
|
- MODE=optimize
|
2020-05-21 19:47:39 +02:00
|
|
|
- ARCH=x86
|
2017-10-10 03:34:01 +02:00
|
|
|
|
2014-05-28 20:38:55 +02:00
|
|
|
before_script:
|
2020-07-30 15:36:24 +02:00
|
|
|
- CHECKOUT_DIR=$PWD && cd .. && $CHECKOUT_DIR/tools/checkout-deps.sh -s ${SDKS} && cd $CHECKOUT_DIR
|
2014-05-28 20:38:55 +02:00
|
|
|
script:
|
|
|
|
- mkdir build && cd build
|
2015-04-02 19:38:34 +02:00
|
|
|
- PATH="~/.local/bin:$PATH"
|
2017-10-10 03:34:01 +02:00
|
|
|
- eval "${MATRIX_EVAL}"
|
2020-05-14 01:51:31 +02:00
|
|
|
- eval "${CC} --version"
|
|
|
|
- eval "${CXX} --version"
|
2021-03-07 13:50:15 +01:00
|
|
|
- python3 ../configure.py --enable-${MODE} --sdks=${SDKS} --targets=${ARCH}
|
2016-06-20 18:12:58 +02:00
|
|
|
- ambuild
|