Skip to content

Commit 0caa02b

Browse files
committed
add: github action defination
1 parent 400a43d commit 0caa02b

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

.github/workflows/cmake.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Camke Build test
2+
3+
on:
4+
push:
5+
branches: [ "Master" ]
6+
pull_request:
7+
branches: [ "Master" ]
8+
9+
jobs:
10+
build:
11+
strategy:
12+
matrix:
13+
os: [ubuntu-latest, windows-latest]
14+
15+
runs-on: ${{ matrix.os }}
16+
17+
steps:
18+
- uses: actions/checkout@v2
19+
20+
- name: Configure CMake
21+
run: |
22+
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
23+
24+
- name: Build
25+
run: |
26+
cmake --build build --config Release

0 commit comments

Comments
 (0)