Skip to content

Commit 1fcab5c

Browse files
authored
BuildCU.yml
1 parent a5b42ff commit 1fcab5c

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/c-cpp.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: BuildCI
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
pull_request:
7+
branches: [ "master" ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
- name: compile
17+
run: gcc test.c -o a.out
18+
- name: Run
19+
run: ./a.out
20+

0 commit comments

Comments
 (0)