6 Commits

Author SHA1 Message Date
06e5783192 Update README.md
Signed-off-by: a1012112796 <1012112796@qq.com>
2023-05-09 09:08:53 +08:00
b61f957abc 更新 'README.md' 2022-11-11 09:14:09 +08:00
7d30518988 test kaTex
Signed-off-by: a1012112796 <1012112796@qq.com>
2022-10-08 19:26:00 +08:00
767ca5dadd test promote
Signed-off-by: a1012112796 <1012112796@qq.com>
2021-05-15 11:00:09 +08:00
8be74047e7 添加 '.gitea/ISSUE_TEMPLATE/test.md' 2020-09-12 19:59:33 +08:00
1a83f2ed5d init pr (#1)
Add adder

Add main.c

Signed-off-by: a1012112796 <1012112796@qq.com>

Reviewed-on: https://www.zhao1012112796.top:3000/testg/test_repo/pulls/1
2020-05-16 14:48:55 +08:00
3 changed files with 61 additions and 1 deletions
+34
View File
@@ -0,0 +1,34 @@
---
kind: pipeline
type: docker
name: build_linux_test
trigger:
event:
- pull_request
- push
steps:
- name: build_test
image: gcc
commands:
- echo "start test"
- gcc main.c -o test
- ./test
---
kind: pipeline
type: docker
name: promote_test
trigger:
event:
- promote
target:
- production
steps:
- name: test
image: gcc
commands:
- echo "start test"
+3
View File
@@ -1,3 +1,6 @@
# test_repo # test_repo
test repo test repo
1234 1244
+23
View File
@@ -0,0 +1,23 @@
#include <stdio.h>
int add(int a, int b);
int main(int argc, char** argv)
{
int i;
printf("hello word!\n");
if (argc > 1)
{
for(i = 0; i < argc; i++)
{
printf("argv[%2d] = %s\n",i,argv[i]);
}
}
printf("add 1 + 2 = %d \n", add(1,2));
return 0;
}
int add(int a, int b)
{
return a + b;
}