Skip to content

Commit

Permalink
chore: Clean previous build and update v4l-utils configuration in bui…
Browse files Browse the repository at this point in the history
…ld.yml
  • Loading branch information
Pavel Turbin committed Aug 24, 2024
1 parent d635469 commit d0b4102
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,19 @@ jobs:
- name: Create Build directory
run: cmake -E make_directory ${{github.workspace}}/build

- name: Clean previous build
working-directory: ${{github.workspace}}/build
run: |
make clean || true
rm -rf *
- name: Configure v4l-utils
working-directory: ${{github.workspace}}/build
shell: bash
run: |
source ${TOOLCHAIN_DIR}/environment-setup
export CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
export CXXFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
../configure \
--host=arm-webos-linux-gnueabi \
--prefix=${{ github.workspace }}/v4l-utils-install \
Expand Down

0 comments on commit d0b4102

Please sign in to comment.