Commit 0f7fb142 authored by Jan Kiene's avatar Jan Kiene
Browse files

change unzipping of ref wmops file

parent d8e3d3dd
Loading
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -1170,9 +1170,7 @@ voip-be-on-merge-request:
  - job_id=$(python3 ci/get_id_of_last_job_occurence.py ivas-float-update-cmplx $CI_JOB_NAME $CI_PROJECT_ID)
  - echo $job_id
  - curl --request GET "https://forge.3gpp.org/rep/api/v4/projects/$CI_PROJECT_ID/jobs/$job_id/artifacts" --output artifacts_ref.zip
  - unzip -d ref_numbers artifacts_ref.zip "*perOP.js"
  - ls ref_numbers
  - ref_wmops_per_op_log=ref_numbers/logs/latest_WMOPS.csv
  - unzip -j artifacts_ref.zip "*latest_WMOPS.csv"

  ### 2. part: setup specific for BASOP repo
  # hack for using the reference encoder -> need to build manually to make script use ref enc and BASOP dec
@@ -1233,9 +1231,7 @@ complexity-stereo-in-stereo-out:
  script:
    - in_format=stereo
    - out_format=stereo
    - echo $ref_wmops_per_op_log
    - ls $ref_wmops_per_op_log
    - bash ci/complexity_measurements/getWmops.sh "$in_format" "$out_format" mem_only $ref_wmops_per_op_log || ret_val=$?
    - bash ci/complexity_measurements/getWmops.sh "$in_format" "$out_format" mem_only latest_WMOPS.csv || ret_val=$?
    - *complexity-measurements-prepare-artifacts
    - exit $ret_val