Skip to content

Commit 90dae1b

Browse files
authored
Add GitHub Actions workflow for build processAdd CI
1 parent 2e18a27 commit 90dae1b

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/build.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
- name: Install dependencies
16+
run: |
17+
sudo apt-get update
18+
sudo apt-get install -y cmake build-essential libssl-dev
19+
20+
- name: Configure CMake
21+
run: cmake -B build -DCMAKE_BUILD_TYPE=Release
22+
23+
- name: Build
24+
run: cmake --build build --config Release
25+

0 commit comments

Comments
 (0)