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

更新 .gitlab-ci.yml

上级 de58ef4b
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
image: "registry.cn-hangzhou.aliyuncs.com/engintime/ubuntu_16.04_program:latest" image: "registry.cn-hangzhou.aliyuncs.com/engintime/ubuntu_16.04_program:latest"
stages: stages:
# - make
- code-analysis - code-analysis
- case1 - case1
...@@ -23,16 +22,6 @@ variables: ...@@ -23,16 +22,6 @@ variables:
- code-analysis - code-analysis
- intranet - intranet
#make:
# stage: make
# <<: *codecode-runner
# script:
# - gcc --version
# - make
# - execscore.sh 40
# only:
# - master
code-analysis: code-analysis:
stage: code-analysis stage: code-analysis
<<: *codecode-analysis-runner <<: *codecode-analysis-runner
...@@ -51,20 +40,7 @@ case1: ...@@ -51,20 +40,7 @@ case1:
stage: case1 stage: case1
<<: *codecode-runner <<: *codecode-runner
script: script:
# - make - python3 local_test.py ci
# - score=60
- python3 local_test_c.py ci
# - count=$(find . -name "input*.txt" | wc -l)
# - for i in $(seq 1 1 $count);
# do
# echo "===================正在进行case${i}验证======================";
# ./app.exe < input${i}.txt > user_output${i}.txt;
# diff output${i}.txt user_output${i}.txt -b -B -y -i -W 100;
# let score+=40/$count;
# if [ $i == $count ]; then score=100; fi;
# source execscore.sh $score;
# echo "===================已完成case${i}验证======================";
# done
only: only:
- master - master
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论