Compare commits
3 Commits
master
...
zzc/test_p
Author | SHA1 | Date | |
---|---|---|---|
fe4971dfc2
|
|||
7d30518988 | |||
8be74047e7 |
34
.drone.yml
34
.drone.yml
@@ -1,34 +0,0 @@
|
|||||||
---
|
|
||||||
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"
|
|
8
.gitea/ISSUE_TEMPLATE/test.md
Normal file
8
.gitea/ISSUE_TEMPLATE/test.md
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
-----
|
||||||
|
name: "test"
|
||||||
|
about: "This template is for testing!"
|
||||||
|
title: "[TEST] "
|
||||||
|
labels:
|
||||||
|
- bug
|
||||||
|
-----
|
||||||
|
This is the template!
|
@@ -1,3 +1,7 @@
|
|||||||
# test_repo
|
# test_repo
|
||||||
|
|
||||||
test repo
|
test repo
|
||||||
|
|
||||||
|
$$F=ma$$
|
||||||
|
|
||||||
|
## 123 345
|
||||||
|
28
main.c
28
main.c
@@ -1,28 +0,0 @@
|
|||||||
#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;
|
|
||||||
}
|
|
||||||
|
|
||||||
int a1()
|
|
||||||
{
|
|
||||||
return 1;
|
|
||||||
}
|
|
Reference in New Issue
Block a user