提交 e3ffc3b5 创建 作者: 宋海霞's avatar 宋海霞

modify .gitlab-ci.yml

上级 49d9e69e
......@@ -56,7 +56,7 @@ case1:
script:
- make
- ./app < input1.txt > user_output1.txt
- diff output1.txt user_output1.txt -b -B -y -i --suppress-common-lines
- diff output1.txt user_output1.txt -b -B -y -i -W 100
- execscore.sh 50
only:
- master
......@@ -68,13 +68,13 @@ teacher-check1:
- make
- ./app < input1.txt
- git clone ${CODECODE_PROTOCOL}gitlab-ci-token:${CI_JOB_TOKEN}@${CODECODE_DOMAIN}/${CI_PROJECT_FORKSOURCE} template
- diff template/.gitlab-ci.yml .gitlab-ci.yml -b -B -y -i --suppress-common-lines
- diff template/input1.txt input1.txt -b -B -y -i --suppress-common-lines
- diff template/output1.txt output1.txt -b -B -y -i --suppress-common-lines
- diff template/.gitlab-ci.yml .gitlab-ci.yml -b -B -y -i -W 100
- diff template/input1.txt input1.txt -b -B -y -i -W 100
- diff template/output1.txt output1.txt -b -B -y -i -W 100
- fileidentity.sh
- git clone ${CODECODE_PROTOCOL}gitlab-ci-token:${CI_JOB_TOKEN}@${CODECODE_DOMAIN}/${TEACHERCHECK_REPO} teacher_check
- ./app < teacher_check/input1.txt > user_output1.txt
- diff teacher_check/output1.txt user_output1.txt -b -B -y -i --suppress-common-lines
- diff teacher_check/output1.txt user_output1.txt -b -B -y -i -W 100
- extracase.sh
only:
- master
......@@ -87,7 +87,7 @@ case2:
script:
- make
- ./app < input2.txt > user_output2.txt
- diff output2.txt user_output2.txt -b -B -y -i --suppress-common-lines
- diff output2.txt user_output2.txt -b -B -y -i -W 100
- execscore.sh 60
only:
- master
......@@ -99,13 +99,13 @@ teacher-check2:
- make
- ./app < input2.txt
- git clone ${CODECODE_PROTOCOL}gitlab-ci-token:${CI_JOB_TOKEN}@${CODECODE_DOMAIN}/${CI_PROJECT_FORKSOURCE} template
- diff template/.gitlab-ci.yml .gitlab-ci.yml -b -B -y -i --suppress-common-lines
- diff template/input2.txt input2.txt -b -B -y -i --suppress-common-lines
- diff template/output2.txt output2.txt -b -B -y -i --suppress-common-lines
- diff template/.gitlab-ci.yml .gitlab-ci.yml -b -B -y -i -W 100
- diff template/input2.txt input2.txt -b -B -y -i -W 100
- diff template/output2.txt output2.txt -b -B -y -i -W 100
- fileidentity.sh
- git clone ${CODECODE_PROTOCOL}gitlab-ci-token:${CI_JOB_TOKEN}@${CODECODE_DOMAIN}/${TEACHERCHECK_REPO} teacher_check
- ./app < teacher_check/input2.txt > user_output2.txt
- diff teacher_check/output2.txt user_output2.txt -b -B -y -i --suppress-common-lines
- diff teacher_check/output2.txt user_output2.txt -b -B -y -i -W 100
- extracase.sh
only:
- master
......@@ -118,7 +118,7 @@ case3:
script:
- make
- ./app < input3.txt > user_output3.txt
- diff output3.txt user_output3.txt -b -B -y -i --suppress-common-lines
- diff output3.txt user_output3.txt -b -B -y -i -W 100
- execscore.sh 65
only:
- master
......@@ -130,13 +130,13 @@ teacher-check3:
- make
- ./app < input3.txt
- git clone ${CODECODE_PROTOCOL}gitlab-ci-token:${CI_JOB_TOKEN}@${CODECODE_DOMAIN}/${CI_PROJECT_FORKSOURCE} template
- diff template/.gitlab-ci.yml .gitlab-ci.yml -b -B -y -i --suppress-common-lines
- diff template/input3.txt input3.txt -b -B -y -i --suppress-common-lines
- diff template/output3.txt output3.txt -b -B -y -i --suppress-common-lines
- diff template/.gitlab-ci.yml .gitlab-ci.yml -b -B -y -i -W 100
- diff template/input3.txt input3.txt -b -B -y -i -W 100
- diff template/output3.txt output3.txt -b -B -y -i -W 100
- fileidentity.sh
- git clone ${CODECODE_PROTOCOL}gitlab-ci-token:${CI_JOB_TOKEN}@${CODECODE_DOMAIN}/${TEACHERCHECK_REPO} teacher_check
- ./app < teacher_check/input3.txt > user_output3.txt
- diff teacher_check/output3.txt user_output3.txt -b -B -y -i --suppress-common-lines
- diff teacher_check/output3.txt user_output3.txt -b -B -y -i -W 100
- extracase.sh
only:
- master
......@@ -149,7 +149,7 @@ case4:
script:
- make
- ./app < input4.txt > user_output4.txt
- diff output4.txt user_output4.txt -b -B -y -i --suppress-common-lines
- diff output4.txt user_output4.txt -b -B -y -i -W 100
- execscore.sh 70
only:
- master
......@@ -161,13 +161,13 @@ teacher-check4:
- make
- ./app < input4.txt
- git clone ${CODECODE_PROTOCOL}gitlab-ci-token:${CI_JOB_TOKEN}@${CODECODE_DOMAIN}/${CI_PROJECT_FORKSOURCE} template
- diff template/.gitlab-ci.yml .gitlab-ci.yml -b -B -y -i --suppress-common-lines
- diff template/input4.txt input4.txt -b -B -y -i --suppress-common-lines
- diff template/output4.txt output4.txt -b -B -y -i --suppress-common-lines
- diff template/.gitlab-ci.yml .gitlab-ci.yml -b -B -y -i -W 100
- diff template/input4.txt input4.txt -b -B -y -i -W 100
- diff template/output4.txt output4.txt -b -B -y -i -W 100
- fileidentity.sh
- git clone ${CODECODE_PROTOCOL}gitlab-ci-token:${CI_JOB_TOKEN}@${CODECODE_DOMAIN}/${TEACHERCHECK_REPO} teacher_check
- ./app < teacher_check/input4.txt > user_output4.txt
- diff teacher_check/output4.txt user_output4.txt -b -B -y -i --suppress-common-lines
- diff teacher_check/output4.txt user_output4.txt -b -B -y -i -W 100
- extracase.sh
only:
- master
......@@ -180,7 +180,7 @@ case5:
script:
- make
- ./app < input5.txt > user_output5.txt
- diff output5.txt user_output5.txt -b -B -y -i --suppress-common-lines
- diff output5.txt user_output5.txt -b -B -y -i -W 100
- execscore.sh 75
only:
- master
......@@ -192,13 +192,13 @@ teacher-check5:
- make
- ./app < input5.txt
- git clone ${CODECODE_PROTOCOL}gitlab-ci-token:${CI_JOB_TOKEN}@${CODECODE_DOMAIN}/${CI_PROJECT_FORKSOURCE} template
- diff template/.gitlab-ci.yml .gitlab-ci.yml -b -B -y -i --suppress-common-lines
- diff template/input5.txt input5.txt -b -B -y -i --suppress-common-lines
- diff template/output5.txt output5.txt -b -B -y -i --suppress-common-lines
- diff template/.gitlab-ci.yml .gitlab-ci.yml -b -B -y -i -W 100
- diff template/input5.txt input5.txt -b -B -y -i -W 100
- diff template/output5.txt output5.txt -b -B -y -i -W 100
- fileidentity.sh
- git clone ${CODECODE_PROTOCOL}gitlab-ci-token:${CI_JOB_TOKEN}@${CODECODE_DOMAIN}/${TEACHERCHECK_REPO} teacher_check
- ./app < teacher_check/input5.txt > user_output5.txt
- diff teacher_check/output5.txt user_output5.txt -b -B -y -i --suppress-common-lines
- diff teacher_check/output5.txt user_output5.txt -b -B -y -i -W 100
- extracase.sh
only:
- master
......@@ -211,7 +211,7 @@ case6:
script:
- make
- ./app < input6.txt > user_output6.txt
- diff output6.txt user_output6.txt -b -B -y -i --suppress-common-lines
- diff output6.txt user_output6.txt -b -B -y -i -W 100
- execscore.sh 80
only:
- master
......@@ -223,13 +223,13 @@ teacher-check6:
- make
- ./app < input6.txt
- git clone ${CODECODE_PROTOCOL}gitlab-ci-token:${CI_JOB_TOKEN}@${CODECODE_DOMAIN}/${CI_PROJECT_FORKSOURCE} template
- diff template/.gitlab-ci.yml .gitlab-ci.yml -b -B -y -i --suppress-common-lines
- diff template/input6.txt input6.txt -b -B -y -i --suppress-common-lines
- diff template/output6.txt output6.txt -b -B -y -i --suppress-common-lines
- diff template/.gitlab-ci.yml .gitlab-ci.yml -b -B -y -i -W 100
- diff template/input6.txt input6.txt -b -B -y -i -W 100
- diff template/output6.txt output6.txt -b -B -y -i -W 100
- fileidentity.sh
- git clone ${CODECODE_PROTOCOL}gitlab-ci-token:${CI_JOB_TOKEN}@${CODECODE_DOMAIN}/${TEACHERCHECK_REPO} teacher_check
- ./app < teacher_check/input6.txt > user_output6.txt
- diff teacher_check/output6.txt user_output6.txt -b -B -y -i --suppress-common-lines
- diff teacher_check/output6.txt user_output6.txt -b -B -y -i -W 100
- extracase.sh
only:
- master
......@@ -242,7 +242,7 @@ case7:
script:
- make
- ./app < input7.txt > user_output7.txt
- diff output7.txt user_output7.txt -b -B -y -i --suppress-common-lines
- diff output7.txt user_output7.txt -b -B -y -i -W 100
- execscore.sh 90
only:
- master
......@@ -254,13 +254,13 @@ teacher-check7:
- make
- ./app < input7.txt
- git clone ${CODECODE_PROTOCOL}gitlab-ci-token:${CI_JOB_TOKEN}@${CODECODE_DOMAIN}/${CI_PROJECT_FORKSOURCE} template
- diff template/.gitlab-ci.yml .gitlab-ci.yml -b -B -y -i --suppress-common-lines
- diff template/input7.txt input7.txt -b -B -y -i --suppress-common-lines
- diff template/output7.txt output7.txt -b -B -y -i --suppress-common-lines
- diff template/.gitlab-ci.yml .gitlab-ci.yml -b -B -y -i -W 100
- diff template/input7.txt input7.txt -b -B -y -i -W 100
- diff template/output7.txt output7.txt -b -B -y -i -W 100
- fileidentity.sh
- git clone ${CODECODE_PROTOCOL}gitlab-ci-token:${CI_JOB_TOKEN}@${CODECODE_DOMAIN}/${TEACHERCHECK_REPO} teacher_check
- ./app < teacher_check/input7.txt > user_output7.txt
- diff teacher_check/output7.txt user_output7.txt -b -B -y -i --suppress-common-lines
- diff teacher_check/output7.txt user_output7.txt -b -B -y -i -W 100
- extracase.sh
only:
- master
......@@ -273,7 +273,7 @@ case8:
script:
- make
- ./app < input8.txt > user_output8.txt
- diff output8.txt user_output8.txt -b -B -y -i --suppress-common-lines
- diff output8.txt user_output8.txt -b -B -y -i -W 100
- execscore.sh 100
only:
- master
......@@ -285,13 +285,13 @@ teacher-check8:
- make
- ./app < input8.txt
- git clone ${CODECODE_PROTOCOL}gitlab-ci-token:${CI_JOB_TOKEN}@${CODECODE_DOMAIN}/${CI_PROJECT_FORKSOURCE} template
- diff template/.gitlab-ci.yml .gitlab-ci.yml -b -B -y -i --suppress-common-lines
- diff template/input8.txt input8.txt -b -B -y -i --suppress-common-lines
- diff template/output8.txt output8.txt -b -B -y -i --suppress-common-lines
- diff template/.gitlab-ci.yml .gitlab-ci.yml -b -B -y -i -W 100
- diff template/input8.txt input8.txt -b -B -y -i -W 100
- diff template/output8.txt output8.txt -b -B -y -i -W 100
- fileidentity.sh
- git clone ${CODECODE_PROTOCOL}gitlab-ci-token:${CI_JOB_TOKEN}@${CODECODE_DOMAIN}/${TEACHERCHECK_REPO} teacher_check
- ./app < teacher_check/input8.txt > user_output8.txt
- diff teacher_check/output8.txt user_output8.txt -b -B -y -i --suppress-common-lines
- diff teacher_check/output8.txt user_output8.txt -b -B -y -i -W 100
- extracase.sh
only:
- master
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论