There was an error while loading. Please reload this page.
1 parent b2f12c0 commit 1474e28Copy full SHA for 1474e28
1 file changed
.github/workflows/build.yml
@@ -1,3 +1,4 @@
1
+---
2
name: Build and Test
3
4
on:
@@ -10,9 +11,9 @@ jobs:
10
11
formatting:
12
runs-on: ubuntu-latest
13
steps:
- - uses: actions/checkout@v2
14
- - name: Formatting
15
- run: find src include test -iregex '.*\.\(c\|h\|cpp\|hpp\|cc\|hh\|cxx\|hxx\)$' | xargs clang-format -n -Werror
+ - uses: actions/checkout@v2
+ - name: Formatting
16
+ run: find src include test -iregex '.*\.\(c\|h\|cpp\|hpp\|cc\|hh\|cxx\|hxx\)$' | xargs clang-format -n -Werror
17
build-linux:
18
19
env:
@@ -31,7 +32,7 @@ jobs:
31
32
- name: Get dependencies
33
run: CMAKE_BUILD_TYPE=Release ./getlibs.sh $TARGET
34
- name: Build with getlibs
- run: |
35
+ run: |
36
BUILD=build-$TARGET-libs-$CMAKE_BUILD_TYPE
37
cmake -S . -B $BUILD
38
cmake --build $BUILD --config $CMAKE_BUILD_TYPE
0 commit comments