---
.test_starpu_simgrid_template: &test_starpu_simgrid
  extends: .test_script_template
  needs: [build_starpu_simgrid]
  dependencies:
    - build_starpu_simgrid
  artifacts:
    name: test_starpu_simgrid
    expire_in: 48 hours
    paths:
      - build_starpu_simgrid
      - chameleon_starpu_simgrid_*.log
      - chameleon_starpu_simgrid_*.lcov
      - bis_chameleon_starpu_simgrid_*.lcov
    reports:
      junit: report.xml

.test_starpu_simgrid_template_master: &test_starpu_simgrid_master
  extends:
    - .test_starpu_simgrid_template
    - .only-master

.test_starpu_simgrid_template_branches: &test_starpu_simgrid_branches
  extends:
    - .test_starpu_simgrid_template
    - .only-branches

test_starpu_simgrid_simu_all:
  <<: *test_starpu_simgrid_branches
  variables:
    STARPU_WORKERS_NOBIND: 1
    SIMU: simu
    VERSION: starpu_simgrid
    CATEGORY: simu
    PRECISION: all
    TESTS_RESTRICTION: "-R \"_${CATEGORY}\""
