Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
T
test-vscode-c-win
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
问题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
银宸大学计算机学院
教师群组
宋海霞-shx
Test
test-vscode-c-win
提交
b36a9c87
提交
b36a9c87
3月 12, 2021
创建
作者:
宋海霞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
更新 .gitlab-ci.yml
上级
70564a69
流水线
#151433
已失败 于阶段
用时 9 秒
变更
1
流水线
1
显示空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
8 行增加
和
3 行删除
+8
-3
.gitlab-ci.yml
.gitlab-ci.yml
+8
-3
没有找到文件。
.gitlab-ci.yml
浏览文件 @
b36a9c87
...
@@ -34,6 +34,7 @@ case1:
...
@@ -34,6 +34,7 @@ case1:
if [ $i == $count ]; then
if [ $i == $count ]; then
score=100;
score=100;
fi
fi
execscore.sh $score;
done
done
# - ./app < input1.txt > user_output1.txt
# - ./app < input1.txt > user_output1.txt
# - diff output1.txt user_output1.txt -b -B -y -i -W 100
# - diff output1.txt user_output1.txt -b -B -y -i -W 100
...
@@ -46,11 +47,15 @@ teacher-check1:
...
@@ -46,11 +47,15 @@ teacher-check1:
<<
:
*codecode-runner
<<
:
*codecode-runner
script
:
script
:
-
make
-
make
-
./app < input1.txt > /dev/null
-
git clone ${CODECODE_PROTOCOL}gitlab-ci-token:${CI_JOB_TOKEN}@${CODECODE_DOMAIN}/${CI_PROJECT_FORKSOURCE} template
-
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/.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
-
count=$(find . -name "input*.txt" | wc -l)
-
diff template/output1.txt output1.txt -b -B -y -i --suppress-common-lines
-
for i in $(seq 1 1 $count);
do
./app.exe < input${i}.txt > /dev/null;
diff template/input${i}.txt input${i}.txt -b -B -y -i --suppress-common-lines;
diff template/output${i}.txt output${i}.txt -b -B -y -i --suppress-common-lines;
done
-
fileidentity.sh
-
fileidentity.sh
only
:
only
:
...
...
编写
预览
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论