1stages: 2 - test 3 4noether-rocm: 5 stage: test 6 tags: 7 - rocm 8 image: jedbrown/rocm:latest 9 script: 10 - export COVERAGE=1 gcov=gcov-8 CC=gcc-8 CXX=gcc-8 FC=gfortran-8 11 - make info 12 - make -j$(nproc) 13 - echo '[{"subject":"/","metrics":[{"name":"Transfer Size (KB)","value":"19.5","desiredSize":"smaller"},{"name":"Speed Index","value":0,"desiredSize":"smaller"},{"name":"Total Score","value":92,"desiredSize":"larger"},{"name":"Requests","value":4,"desiredSize":"smaller"}]}]' > performance.json 14 - make -k -j$(nproc) junit realsearch=% 15 after_script: 16 - | 17 if [ -e success ]; then 18 lcov --directory . --capture --output-file coverage.info 19 && bash <(curl -s https://codecov.io/bash) -f coverage.info -F interface 20 && bash <(curl -s https://codecov.io/bash) -f coverage.info -F gallery 21 && bash <(curl -s https://codecov.io/bash) -f coverage.info -F backends 22 && bash <(curl -s https://codecov.io/bash) -f coverage.info -F tests 23 && bash <(curl -s https://codecov.io/bash) -f coverage.info -F examples 24 fi 25 artifacts: 26 paths: 27 - build/*.junit 28 reports: 29 junit: build/*.junit 30 performance: performance.json 31