Commit c9690fc8 authored by Tapani Pihlajakuja's avatar Tapani Pihlajakuja
Browse files

Test nokia basop linux runner

parent 04c6120f
Loading
Loading
Loading
Loading
Loading
+54 −10
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

include:
  - project: ivas-codec-pc/ivas-codec-ci
    ref: *IVAS_CODEC_CI_REF
    file: main-basop.yml
  - local: .gitlab-ci/variables.yml
  - local: .gitlab-ci/rules-basis.yml
# Invoke on push and on web run
workflow:
  rules:
    - if: $CI_PIPELINE_SOURCE == "push"
    - if: $CI_PIPELINE_SOURCE == "web"

stages:
  - test

# Test that necessary dependencies are found
test_dependencies:
  stage: test
  tags:
    - test-nokia-basop-linux-runner-3 # Add targeted runner tag here
  script:
    - echo 0 > zero # Helper file
    - echo "Runner successfully running"
    - gcc -v
    - clang -v
    - make -v
    - cmake --version
    - git --version
    - git lfs --version
    - valgrind --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 pytest
    - pip3 show pytest-xdist
    - pip3 show pytest-html
    - pip3 show matplotlib
    - pip3 show pandas 
    - pip3 list
    - 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