forked from testg/test_repo
Compare commits
5 Commits
master
...
a101211279
Author | SHA1 | Date | |
---|---|---|---|
7038e7ff5d | |||
b4130d5cab | |||
2503225ce1 | |||
7389f8cbcd | |||
1a83f2ed5d |
18
.drone.yml
Normal file
18
.drone.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
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
|
||||
|
@@ -1,8 +0,0 @@
|
||||
-----
|
||||
name: "test"
|
||||
about: "This template is for testing!"
|
||||
title: "[TEST] "
|
||||
labels:
|
||||
- bug
|
||||
-----
|
||||
This is the template!
|
12
README.org
Normal file
12
README.org
Normal file
@@ -0,0 +1,12 @@
|
||||
without latex delimiters the =_{i=1}= in =\sum_{i=1}^n a_n= is interpreted as subscript.
|
||||
we support =\(...\)=, =\[...\]=, =$$...$$= and =\begin{$env}...\end{$env}= as latex fragment delimiters.
|
||||
|
||||
- \sum_{i=1}^n a_n (without latex delimiter)
|
||||
- \(\sum_{i=1}^n a_n\)
|
||||
- \[\sum_{i=1}^n a_n\]
|
||||
- $$\sum_{i=1}^n a_n$$
|
||||
- \begin{xyz}\sum_{i=1}^n a_n\end{xyz}
|
||||
- \begin{xyz}
|
||||
\sum_{i=1}^n a_n
|
||||
\end{xyz}
|
||||
- $2 + 2$, $3 - 3$
|
23
main.c
Normal file
23
main.c
Normal 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;
|
||||
}
|
Reference in New Issue
Block a user