Skip to content

Commit

Permalink
[CI] Fix meson ubuntu ci build
Browse files Browse the repository at this point in the history
Fix build bug
- Currently, there is a bug in the matrix used in CI where the first Meson build runs successfully but subsequent builds fail due to the presence of a 'build' folder. I would like to fix this issue.
- Before running the Meson build, ensure that any existing folders named 'build' are deleted.

Resolves:
- #2715

**Self evaluation:**
1. Build test:	 [X]Passed [ ]Failed [ ]Skipped
2. Run test:	 [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: Donghak PARK <donghak.park@samsung.com>
Co-authored-by: hyeonseok <hs89.lee@samsung.com>
Co-authored-by: Donghyeon Jeong <dhyeon.jeong@samsung.com>
  • Loading branch information
3 people committed Aug 23, 2024
1 parent 6623e30 commit 5b2ca0b
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/ubuntu_clean_meson_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ jobs:
run: sudo apt-get install -y python3-dev python3-numpy python3
- name: install build systems
run: sudo apt install meson ninja-build
- run: meson setup build/
env:
CC: gcc
- run: |
meson \
--buildtype=plain \
Expand All @@ -49,7 +46,7 @@ jobs:
-Dcapi-ml-inference-actual=capi-ml-inference \
-Denable-capi=enabled \
${{ matrix.meson_options }} \
build
- run: ninja -C build
build-${{matrix.meson_options}}-${{matrix.os}}
- run: ninja -C build-${{matrix.meson_options}}-${{matrix.os}}
- name: run ninja test
run: cd ./build && ninja test
run: cd ./build-${{matrix.meson_options}}-${{matrix.os}} && ninja test

0 comments on commit 5b2ca0b

Please sign in to comment.