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

Release of version 5.0.0 #128

Merged
merged 4 commits into from
Oct 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ queue_rules:
pull_request_rules:
- name: Automatic merge on approval & CI
conditions:
- check-success=Ubuntu 20
- check-success=Ubuntu 22
- check-success=Ubuntu 24
- check-success=Windows
- and: *ChecksQueue
actions:
Expand Down
90 changes: 46 additions & 44 deletions .github/workflows/all_jobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,15 @@ on:

env:
#General variables
numpy_version: "numpy==1.23.4" # replace with only 'numpy' if no version needed
python_versions: 3.8
pybind_version: "2.6.0"
python_versions: 3.9
#Windows variables
python_executable: "C:/hostedtoolcache/windows/Python/3.8.10/x64/python.exe" #Cmake needs this to find python on windows
python_executable: "C:/hostedtoolcache/windows/Python/3.9.13/x64/python.exe" #Cmake needs this to find python on windows

jobs:
jobs:

container-ubuntu-20-job:
name: Build Ubuntu 20 Image
runs-on: ubuntu-20.04
container-ubuntu-22-job:
name: Build Ubuntu 22 Image
runs-on: ubuntu-22.04
steps:
- name: Checkout Repository
uses: actions/checkout@v2
Expand All @@ -34,17 +32,17 @@ jobs:
uses: docker/build-push-action@v5
with:
context: .
file: utils/containers/Dockerfile.OpenEB
file: utils/containers/Dockerfile.OpenEB
push: true
build-args: UBUNTU_VERSION=20.04
tags: prophesee/openeb:ubuntu-20.04
build-args: BASE_IMAGE_TAG=22.04
tags: prophesee/openeb:ubuntu-22.04

job1:
name: Ubuntu 20
needs: container-ubuntu-20-job
runs-on: ubuntu-20.04
name: Ubuntu 22
needs: container-ubuntu-22-job
runs-on: ubuntu-22.04
container:
image: prophesee/openeb:ubuntu-20.04
image: prophesee/openeb:ubuntu-22.04
steps:
- name: Checkout Repository
uses: actions/checkout@v2
Expand All @@ -53,8 +51,10 @@ jobs:

- name: Build openEB
run: |
cmake -B build -DBUILD_TESTING=ON
cmake --build build --config Release --parallel `nproc`
test -e /opt/prophesee/psee-py3venv/bin/activate && . /opt/prophesee/psee-py3venv/bin/activate
mkdir build && cd build
cmake .. -DBUILD_TESTING=ON
cmake --build . --config Release --parallel `nproc`

- name: Getting datasets from storage
uses: dawidd6/action-download-artifact@v2
Expand All @@ -69,37 +69,38 @@ jobs:
cd build
ctest --output-on-failure

container-ubuntu-22-job:
name: Build Ubuntu 22 Image
runs-on: ubuntu-22.04
steps:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Login to Docker Registry
uses: docker/login-action@v3
with:
username: ${{ secrets.PSEE_DOCKER_HUB_USER }}
password: ${{ secrets.PSEE_DOCKER_HUB_ACCESS_TOKEN }}
container-ubuntu-24-job:
name: Build Ubuntu 24 Image
runs-on: ubuntu-24.04
steps:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Login to Docker Registry
uses: docker/login-action@v3
with:
username: ${{ secrets.PSEE_DOCKER_HUB_USER }}
password: ${{ secrets.PSEE_DOCKER_HUB_ACCESS_TOKEN }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build and Push Docker image
uses: docker/build-push-action@v5
with:
context: .
file: utils/containers/Dockerfile.OpenEB
push: true
build-args: UBUNTU_VERSION=22.04
tags: prophesee/openeb:ubuntu-22.04
- name: Build and Push Docker image
uses: docker/build-push-action@v5
with:
context: .
file: utils/containers/Dockerfile.OpenEB
push: true
build-args: BASE_IMAGE_TAG=24.04
tags: prophesee/openeb:ubuntu-24.04

job2:
name: Ubuntu 22
needs: container-ubuntu-22-job
runs-on: ubuntu-22.04
name: Ubuntu 24
needs: container-ubuntu-24-job
runs-on: ubuntu-24.04
container:
image: prophesee/openeb:ubuntu-22.04
image: prophesee/openeb:ubuntu-24.04
steps:
- name: Checkout Repository
uses: actions/checkout@v2
Expand All @@ -108,9 +109,10 @@ jobs:

- name: Build openEB
run: |
test -e /opt/prophesee/psee-py3venv/bin/activate && . /opt/prophesee/psee-py3venv/bin/activate
mkdir build && cd build
cmake .. -DBUILD_TESTING=ON
cmake --build . --config Release --parallel 4
cmake --build . --config Release --parallel `nproc`

- name: Getting datasets from storage
uses: dawidd6/action-download-artifact@v2
Expand Down Expand Up @@ -159,7 +161,7 @@ jobs:
cd ..
unzip -q "vcpkg-export.zip"
7z x ffmpeg-archive.7z
$python_executable -m pip install pytest $numpy_version opencv-python==4.5.5.64 torch==1.13.1 scipy sk-video==1.1.10 numba==0.56.3 h5py command_runner kornia==0.6.8 pytorch_lightning==1.8.6 pytorch_msssim==0.2.1
$python_executable -m pip install -r openeb/utils/python/requirements_openeb.txt
cd openeb

- name: Build openEB
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/upload_datasets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ on:
env:
# we are not using an official share URL from KDrive. We found it by analyzing the http requests.
# we hope it will continue to work in the future.
dataset_download_address: "https://kdrive.infomaniak.com/2/app/975517/share/90b05176-4499-489d-a7a9-96b395df80ab/files/24562/download"

dataset_download_address: "https://prophesee-bamboo.s3.eu-west-1.amazonaws.com/datasets/openeb/openeb-dataset_v5.0.0.zip"
jobs:
get_artifacts:
name: Get Datasets
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/upload_win_binaries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ on:
- cron: "15 2 1 */2 *"

env:
win_binaries_download_address: "https://prophesee-bamboo.s3.eu-west-1.amazonaws.com/build-env/vcpkg-export-20230323-MV4.0.0.zip"
# TODO update for v5.0.0 release
win_binaries_download_address: "https://prophesee-bamboo.s3.eu-west-1.amazonaws.com/build-env/vcpkg-export-20240909-MV_V4.6.2.zip"
ffmpeg_archive_download_address: "https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-full.7z"

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "hdf5_ecf"]
path = sdk/modules/driver/cpp/3rdparty/hdf5_ecf
path = sdk/modules/stream/cpp/3rdparty/hdf5_ecf
url = https://github.com/prophesee-ai/hdf5_ecf.git
Loading
Loading