Skip to content

Commit

Permalink
Fixed GH CI build script
Browse files Browse the repository at this point in the history
  • Loading branch information
mikucionisaau committed Sep 15, 2023
1 parent b2f12c0 commit 1474e28
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: Build and Test

on:
Expand All @@ -10,9 +11,9 @@ jobs:
formatting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Formatting
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
run: find src include test -iregex '.*\.\(c\|h\|cpp\|hpp\|cc\|hh\|cxx\|hxx\)$' | xargs clang-format -n -Werror
build-linux:
runs-on: ubuntu-latest
env:
Expand All @@ -31,7 +32,7 @@ jobs:
- name: Get dependencies
run: CMAKE_BUILD_TYPE=Release ./getlibs.sh $TARGET
- name: Build with getlibs
run: |
run: |
BUILD=build-$TARGET-libs-$CMAKE_BUILD_TYPE
cmake -S . -B $BUILD
cmake --build $BUILD --config $CMAKE_BUILD_TYPE
Expand Down

0 comments on commit 1474e28

Please sign in to comment.