Skip to content

Commit

Permalink
[CI] update build script
Browse files Browse the repository at this point in the history
This commit updates build scripts to initialized git submodules.

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

Signed-off-by: Donghyeon Jeong <[email protected]>
  • Loading branch information
djeong20 authored and myungjoo committed Feb 5, 2025
1 parent a07ed7f commit 4e904a6
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ jobs:
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-13 1000
sudo update-alternatives --set gcc /usr/bin/gcc-13
pip install meson ninja
git submodule sync && git submodule update --init --depth 1
meson setup \
--buildtype=plain \
--prefix=/usr \
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/daily_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ jobs:
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-13 1000
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-13 1000
sudo update-alternatives --set gcc /usr/bin/gcc-13
- name: Install submodules
run: git submodule sync && git submodule update --init --depth 1
- name: install build systems
run: sudo apt install meson ninja-build
- run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ubuntu_benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
run: sudo apt-get update && sudo apt-get install -y gcc g++ pkg-config libopenblas-dev libiniparser-dev libjsoncpp-dev libcurl3-dev tensorflow2-lite-dev nnstreamer-dev libglib2.0-dev libgstreamer1.0-dev libgtest-dev ml-api-common-dev flatbuffers-compiler ml-inference-api-dev libunwind-dev libbenchmark-dev
- name: install additional packages for features
run: sudo apt-get install -y python3-dev python3-numpy python3
- name: Install submodules
run: git submodule sync && git submodule update --init --depth 1
- name: install build systems
run: sudo apt install meson ninja-build
- run: meson setup build/
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ubuntu_clean_meson_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ jobs:
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-13 1000
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-13 1000
sudo update-alternatives --set gcc /usr/bin/gcc-13
- name: Install submodules
run: git submodule sync && git submodule update --init --depth 1
- name: install build systems
run: sudo apt install meson ninja-build
- run: |
Expand Down

0 comments on commit 4e904a6

Please sign in to comment.