Skip to content

Commit 89bfb58

Browse files
authored
Create c-cpp.yml
1 parent f863c98 commit 89bfb58

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

.github/workflows/c-cpp.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Build
2+
on: [push, pull_request]
3+
4+
jobs:
5+
linux:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- name: Checkout code
9+
uses: actions/checkout@v4
10+
- name: Build with meson
11+
run: |
12+
pip install meson
13+
14+
meson setup build
15+
meson compile -C build
16+
17+
macos:
18+
runs-on: macos-latest
19+
steps:
20+
- name: Checkout code
21+
uses: actions/checkout@v4
22+
- name: Build with meson
23+
run: |
24+
pip install meson
25+
26+
meson setup build
27+
meson compile -C build
28+
29+
windows:
30+
runs-on: windows-latest
31+
steps:
32+
- name: Checkout code
33+
uses: actions/checkout@v4
34+
- name: Build with meson
35+
run: |
36+
pip install meson
37+
38+
meson setup build
39+
meson compile -C build
40+

0 commit comments

Comments
 (0)