Skip to content

Commit 3bd4cc7

Browse files
committed
added linux build ci/cd
1 parent 619d158 commit 3bd4cc7

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/linux_build.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Linux Build
2+
3+
on:
4+
push:
5+
branches: ["main", "dev"]
6+
pull_request:
7+
branches: ["main"]
8+
workflow_dispatch:
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- name: Install dependencies
18+
run: sudo apt-get update && sudo apt-get install -y clang g++ cmake
19+
20+
- name: Configure CMake
21+
run: |
22+
cmake -B build \
23+
-DCMAKE_BUILD_TYPE=Dev_Release \
24+
-S ${{ github.workspace }}
25+
26+
- name: Build
27+
run: cmake --build build --config Release
28+
29+
- name: Upload binary artifact
30+
uses: actions/upload-artifact@v4
31+
with:
32+
name: vmaware-linux-x86_64
33+
path: build/vmaware
34+
if-no-files-found: error
35+
retention-days: 30

0 commit comments

Comments
 (0)