Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
L
Lab09
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
问题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
银宸时代
CP Lab Group
实验项目模板
Lab09
提交
97bf7a30
提交
97bf7a30
1月 21, 2020
创建
作者:
宋海霞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
modify_ci
上级
a08f9e8a
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
4 行增加
和
4 行删除
+4
-4
.gitlab-ci.yml
.gitlab-ci.yml
+4
-4
没有找到文件。
.gitlab-ci.yml
浏览文件 @
97bf7a30
...
@@ -40,7 +40,7 @@ code-analysis:
...
@@ -40,7 +40,7 @@ code-analysis:
-
mkdir -p build
-
mkdir -p build
-
cppcheck -v --force --enable=all --xml -I./ ./ 2> ./build/cppcheck-report.xml
-
cppcheck -v --force --enable=all --xml -I./ ./ 2> ./build/cppcheck-report.xml
-
bash -c 'find ./ -regex ".*\.c\|.*\.h" | vera++ -S -s -d -c ./build/vera-report.xml'
-
bash -c 'find ./ -regex ".*\.c\|.*\.h" | vera++ -S -s -d -c ./build/vera-report.xml'
-
valgrind --xml=yes --xml-file=./build/valgrind-report.xml ./app < input1.txt
-
valgrind --xml=yes --xml-file=./build/valgrind-report.xml ./app < input1.txt
> /dev/null
-
sonar-scanner -Dsonar.projectKey=ProjectKey-$CI_PROJECT_ID -Dsonar.projectName=$CI_PROJECT_NAME -Dsonar.links.homepage=$CI_PROJECT_URL -Dsonar.host.url=$SONAR_URL -Dsonar.login=$SONAR_LOGIN -Dsonar.gitlab.commit_sha=$CI_COMMIT_SHA -Dsonar.gitlab.ref_name=$CI_COMMIT_REF_NAME -Dsonar.gitlab.project_id=$CI_PROJECT_ID -Dsonar.gitlab.url=$CODECODE_PROTOCOL$CODECODE_DOMAIN
-
sonar-scanner -Dsonar.projectKey=ProjectKey-$CI_PROJECT_ID -Dsonar.projectName=$CI_PROJECT_NAME -Dsonar.links.homepage=$CI_PROJECT_URL -Dsonar.host.url=$SONAR_URL -Dsonar.login=$SONAR_LOGIN -Dsonar.gitlab.commit_sha=$CI_COMMIT_SHA -Dsonar.gitlab.ref_name=$CI_COMMIT_REF_NAME -Dsonar.gitlab.project_id=$CI_PROJECT_ID -Dsonar.gitlab.url=$CODECODE_PROTOCOL$CODECODE_DOMAIN
allow_failure
:
true
allow_failure
:
true
only
:
only
:
...
@@ -60,7 +60,7 @@ teacher-check1:
...
@@ -60,7 +60,7 @@ teacher-check1:
stage
:
case1
stage
:
case1
<<
:
*codecode-runner
<<
:
*codecode-runner
script
:
script
:
-
./app < input1.txt
-
./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 -W 100
-
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/input1.txt input1.txt -b -B -y -i -W 100
...
@@ -90,7 +90,7 @@ teacher-check2:
...
@@ -90,7 +90,7 @@ teacher-check2:
stage
:
case2
stage
:
case2
<<
:
*codecode-runner
<<
:
*codecode-runner
script
:
script
:
-
./app < input2.txt
-
./app < input2.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 -W 100
-
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/input2.txt input2.txt -b -B -y -i -W 100
...
@@ -119,7 +119,7 @@ teacher-check3:
...
@@ -119,7 +119,7 @@ teacher-check3:
stage
:
case3
stage
:
case3
<<
:
*codecode-runner
<<
:
*codecode-runner
script
:
script
:
-
./app < input3.txt
-
./app < input3.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 -W 100
-
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/input3.txt input3.txt -b -B -y -i -W 100
...
...
编写
预览
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论