Commit c64773e2 authored by Ari Trachtenberg's avatar Ari Trachtenberg
Browse files

added compete_all_players job

parent 425fa074
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -189,7 +189,8 @@ compete_all_players:
    - |
      # Run the program and capture exit status
      set +e
      ./play > "${WHITE_PLAYER}-vs-${BLACK_PLAYER}.txt"
      mkdir results
      ./play > "results/${WHITE_PLAYER}-vs-${BLACK_PLAYER}.txt"
      status=$?
      set -e

@@ -208,3 +209,6 @@ compete_all_players:
  tags: [c++-17]
  rules:
    - if: '$CI_PIPELINE_SOURCE == "schedule"'
  artifacts:
    paths:
      - hw8_ec/results/
 No newline at end of file