Skip to content

Commit 84ce54e

Browse files
authored
Create cmake.yml
1 parent c596d6f commit 84ce54e

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/cmake.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: CMake
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
repository_dispatch:
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v2
15+
- name: Build
16+
run: |
17+
cmake -B ${{github.workspace}}/build
18+
cmake --build ${{github.workspace}}/build
19+
- name: Test
20+
run: ./adopt_tests
21+
working-directory: ${{github.workspace}}/build

0 commit comments

Comments
 (0)