Skip to content

Commit ef149ba

Browse files
committed
Add build CI
1 parent 1592fe9 commit ef149ba

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/build.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Webserv build CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Build binary
13+
uses: actions/checkout@v4
14+
run: make
15+
16+
- name: Upload binary to artifacts
17+
uses: actions/upload-artifact@v4
18+
with:
19+
name: webserv-binary
20+
path: bin/webserv
21+
if-no-files-found: error

0 commit comments

Comments
 (0)