Skip to content

Commit 1474e28

Browse files
committed
Fixed GH CI build script
1 parent b2f12c0 commit 1474e28

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
name: Build and Test
23

34
on:
@@ -10,9 +11,9 @@ jobs:
1011
formatting:
1112
runs-on: ubuntu-latest
1213
steps:
13-
- 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
14+
- uses: actions/checkout@v2
15+
- name: Formatting
16+
run: find src include test -iregex '.*\.\(c\|h\|cpp\|hpp\|cc\|hh\|cxx\|hxx\)$' | xargs clang-format -n -Werror
1617
build-linux:
1718
runs-on: ubuntu-latest
1819
env:
@@ -31,7 +32,7 @@ jobs:
3132
- name: Get dependencies
3233
run: CMAKE_BUILD_TYPE=Release ./getlibs.sh $TARGET
3334
- name: Build with getlibs
34-
run: |
35+
run: |
3536
BUILD=build-$TARGET-libs-$CMAKE_BUILD_TYPE
3637
cmake -S . -B $BUILD
3738
cmake --build $BUILD --config $CMAKE_BUILD_TYPE

0 commit comments

Comments
 (0)