Skip to content

Commit 5ca9f1a

Browse files
committed
add ci
1 parent bb1c99d commit 5ca9f1a

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Build C++
2+
3+
on:
4+
push:
5+
branches:
6+
- '**'
7+
8+
jobs:
9+
install:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v3
14+
15+
- name: Install dependencies
16+
run: |
17+
sudo apt-get update
18+
sudo apt-get install -y build-essential g++ cmake
19+
20+
build:
21+
runs-on: ubuntu-latest
22+
needs: install
23+
24+
steps:
25+
- uses: actions/checkout@v3
26+
27+
- name: Compile project
28+
run: make
29+

0 commit comments

Comments
 (0)