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 <[email protected]>
Co-authored-by: hyeonseok <[email protected]>
Co-authored-by: Donghyeon Jeong <[email protected]>
  • Loading branch information
3 people committed Aug 23, 2024
1 parent 6623e30 commit bb67730
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ubuntu_clean_meson_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ 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/
- run: meson setup build-${{matrix.meson_options}}-${{matrix.os}}/
env:
CC: gcc
- run: |
Expand All @@ -49,7 +49,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 bb67730

Please sign in to comment.