Commit efad3887 authored by Matteo De Carlo's avatar Matteo De Carlo
Browse files

added server (windowless) tools

parent 5f9dfc16
Loading
Loading
Loading
Loading
+13 −4
Original line number Diff line number Diff line
@@ -13,16 +13,26 @@ stages:
  variables:
    PLATFORM: ''
    EXTRA: ''
    TOOLS: 'false'
    TOOLS: 'no'
    TARGET: 'release'
  script:
    # - scons -j32 platform=$PLATFORM tools=no bits=64 target=release_debug $EXTRA
    - scons -j32 platform=$PLATFORM tools=no bits=64 target=release $EXTRA
    - if $TOOLS; then scons -j32 platform=$PLATFORM tools=yes bits=64 target=release_debug $EXTRA; fi
    - scons -j32 platform=$PLATFORM tools=$TOOLS bits=64 target=$TARGET $EXTRA
  artifacts:
    name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME"
    paths:
      - bin/

build_server_tools:
  extends: .build
  before_script:
    - apt-get update -qq && apt-get install -y -qq build-essential scons 
      pkg-config libssl-dev libudev-dev yasm
  variables:
    PLATFORM: server
    TOOLS: 'yes'
    TARGET: 'release_debug'

build_ubuntu:
  extends: .build
  before_script:
@@ -31,7 +41,6 @@ build_ubuntu:
      libxi-dev libxrandr-dev yasm
  variables:
    PLATFORM: x11
    TOOLS: 'true'

build_windows:
  extends: .build