Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the build tests for Ubuntu 22.04. #23

Merged
merged 1 commit into from Oct 11, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
52 changes: 50 additions & 2 deletions .github/workflows/build-tests.yml
Expand Up @@ -8,7 +8,55 @@ on:
pull_request:

jobs:
build-ipu6ep:
build-ipu6ep-on-ubuntu-2204:
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v2

- name: Build for ipu6ep
run: |
echo "APT::Get::Always-Include-Phased-Updates True;" | sudo tee -a /etc/apt/apt.conf
sudo apt-get update -q -q
sudo apt-get install git cmake libexpat-dev automake libtool libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libunwind-dev --yes
git clone https://github.com/intel/ipu6-camera-bins -b main --depth 1
sudo cp -rv ipu6-camera-bins/ipu6ep/include/* /usr/include/
sudo cp -rv ipu6-camera-bins/ipu6ep/lib/* /usr/lib/
rm -fr ipu6-camera-bins
mkdir -p ./build/out/install/usr && cd ./build/
cmake -DCMAKE_BUILD_TYPE=Release \
-DIPU_VER=ipu6ep \
-DENABLE_VIRTUAL_IPU_PIPE=OFF \
-DUSE_PG_LITE_PIPE=ON \
-DUSE_STATIC_GRAPH=OFF \
-DCMAKE_INSTALL_PREFIX=/usr ..
make
sudo make install
build-ipu6-on-ubuntu-2204:
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v2

- name: Build for ipu6
run: |
echo "APT::Get::Always-Include-Phased-Updates True;" | sudo tee -a /etc/apt/apt.conf
sudo apt-get update -q -q
sudo apt-get install git cmake libexpat-dev automake libtool libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libunwind-dev --yes
git clone https://github.com/intel/ipu6-camera-bins -b main --depth 1
sudo cp -rv ipu6-camera-bins/ipu6/include/* /usr/include/
sudo cp -rv ipu6-camera-bins/ipu6/lib/* /usr/lib/
rm -fr ipu6-camera-bins
mkdir -p ./build/out/install/usr && cd ./build/
cmake -DCMAKE_BUILD_TYPE=Release \
-DIPU_VER=ipu6 \
-DENABLE_VIRTUAL_IPU_PIPE=OFF \
-DUSE_PG_LITE_PIPE=ON \
-DUSE_STATIC_GRAPH=OFF \
-DCMAKE_INSTALL_PREFIX=/usr ..
make
sudo make install
build-ipu6ep-on-ubuntu-2004:
runs-on: ubuntu-20.04

steps:
Expand All @@ -31,7 +79,7 @@ jobs:
-DCMAKE_INSTALL_PREFIX=/usr ..
make
sudo make install
build-ipu6:
build-ipu6-on-ubuntu-2004:
runs-on: ubuntu-20.04

steps:
Expand Down