Unverified Commit e3f00748 authored by norvell's avatar norvell
Browse files

Test Ericsson runners

parent a7ee5592
Loading
Loading
Loading
Loading
Loading
+58 −15
Original line number Diff line number Diff line
variables:
  # note: GitLab cannot reference variables defined by users in the include ref:, we need to use a YAML anchor for this
  # see https://docs.gitlab.com/ci/yaml/includes/#use-variables-with-include for more information
  IVAS_CODEC_CI_REF: &IVAS_CODEC_CI_REF main
  # If you need to set some config variable only in a local branch, then add an overwrite here
  # One example is DISABLE_HRTF - this will be set on a branch which is about to be merged and will be removed in a subsequent second MR
  # this is more easily done directly here in the child repo
test-runner-setup:
  rules:
    - if: $CI_PIPELINE_SOURCE == 'web'
  stage: test
  parallel:
    matrix:
      - RUNNER:
        - test-ericsson-linux-runner
        - test-ericsson-linux-runner-6
        - test-ericsson-linux-runner-7
  tags:
    - ${RUNNER}
  timeout: "10 minutes"
  stage: test
  script:
    - echo 0 > zero # Helper file
    - echo "Runner successfully running"
    - gcc -v
    - clang -v
    - make -v
    - cmake --version
    - git --version
    - git lfs --version
    - coan -v
    - zip --version
    - curl --version
    - tcsh --version
    - lcov --version
    
    - echo "Test existence of tools which should return 0"
    - eid-xor zero zero /dev/null 
    - networkSimulator_g192 zero /dev/null /dev/null /dev/null 1 
    - gen-patt /dev/null F 1 1 /dev/null 0
    
    - python3 --version
    - pip3 show numpy # Use of pip is assumed for python dependencies
    - pip3 show scipy
    - pip3 show plotly
    - pip3 show pytest
    - pip3 show pytest-xdist
    - pip3 show pytest-html
    - pip3 show matplotlib
    - pip3 show pandas 
    - pip3 show requests
    - pip3 show bitstring
    - pip3 list
    - python3 scripts/parse_sanitizer_errors_from_xml_report.py --help
    - whoami
    - whoami | groups
    
    - ls -d /usr/local/ltv
    - ls -d /usr/local/testv
    - ls -d /usr/local/be_2_evs_test
    
    # Checks for BASOP runners, comment out if not relevant
    - ls -d /usr/local/scripts
    - ls -d /usr/local/be_2_evs_basop
    - PQevalAudio --help

  # these lines are suposed to stay commented out to serve as an example
  # # set this to true to skip the external HRTF testcases in pytest calls
  # DISABLE_HRTF: "true"
# all CI code and config is included from https://forge.3gpp.org/rep/ivas-codec-pc/ivas-codec-ci
include:
  - project: ivas-codec-pc/ivas-codec-ci
    ref: *IVAS_CODEC_CI_REF
    file: main-float.yml