Skip to content

Commit aa204d5

Browse files
feat: add CI
Signed-off-by: varun-r-mallya <[email protected]>
1 parent 7e117e8 commit aa204d5

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/build.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Build LidDrivenCavity
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout source
14+
uses: actions/checkout@v4
15+
with:
16+
submodules: recursive
17+
18+
- name: Install dependencies
19+
run: |
20+
sudo apt update
21+
sudo apt install -y \
22+
ninja-build \
23+
meson \
24+
g++ \
25+
libsfml-dev \
26+
libomp-dev \
27+
python3
28+
29+
- name: Setup Meson build dir
30+
run: |
31+
meson setup build
32+
33+
- name: Compile project
34+
run: |
35+
meson compile -C build

0 commit comments

Comments
 (0)