init pr #1

Merged
root merged 2 commits from a1012112796/test_repo:test into master 2020-05-16 14:48:55 +08:00
2 changed files with 33 additions and 0 deletions
Showing only changes of commit 03b33a6610 - Show all commits

18
.drone.yml Normal file
View File

@@ -0,0 +1,18 @@
---
kind: pipeline
type: docker
name: build_linux_test
Review

test

test
trigger:
event:
- pull_request
- push
steps:
- name: build_test
image: gcc
commands:
- echo "start test"
- gcc main.c -o test
- ./test

15
main.c Normal file
View File

@@ -0,0 +1,15 @@
#include <stdio.h>
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]);
}
}
return 0;
}