Skip to content

Commit

Permalink
[v4.0.0] Release update
Browse files Browse the repository at this point in the history
  • Loading branch information
jthierry-psee committed Mar 27, 2023
1 parent 04022c2 commit ea2cf58
Show file tree
Hide file tree
Showing 785 changed files with 41,086 additions and 33,138 deletions.
1 change: 0 additions & 1 deletion .github/mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ queue_rules:
pull_request_rules:
- name: Automatic merge on approval & CI
conditions:
- check-success=Ubuntu 18
- check-success=Ubuntu 20
- check-success=Windows
- and: *ChecksQueue
Expand Down
30 changes: 11 additions & 19 deletions .github/workflows/all_jobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@ name: All Build

on:
workflow_dispatch:
push:
pull_request:

env:
#General variables
numpy_version: "numpy==1.19.5" # replace with only 'numpy' if no version needed
numpy_version: "numpy==1.23.4" # replace with only 'numpy' if no version needed
python_versions: 3.8
pybind_version: "2.6.0"
#Windows variables
Expand All @@ -24,13 +23,13 @@ jobs:
- name: Install dependencies
run: |
sudo apt-get -y update && sudo apt-get install -y sudo apt-utils wget cmake build-essential \
libglew-dev git g++ libusb-1.0-0-dev libgtest-dev libssl-dev \
libglew-dev git g++ libusb-1.0-0-dev libgtest-dev libgmock-dev libssl-dev python3.8 \
python3-pip python3-distutils xvfb libglfw3 libglfw3-dev libglew-dev libopencv-dev ffmpeg \
libboost-dev libboost-program-options-dev libboost-filesystem-dev libboost-timer-dev \
libboost-chrono-dev libboost-thread-dev zip unzip git-lfs
pip install opencv-python $numpy_version pytest torch scipy sk-video numba h5py command_runner
libboost-chrono-dev libboost-thread-dev zip unzip git-lfs libhdf5-dev hdf5-tools
pip install $numpy_version pytest 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
- name: Build pybind
- name: Build pybind and gtest
run: |
openebfolder=${PWD}
cd ..
Expand Down Expand Up @@ -62,21 +61,20 @@ jobs:
ctest --output-on-failure
job2:
name: Ubuntu 18
runs-on: ubuntu-18.04
name: Ubuntu 22
runs-on: ubuntu-22.04
steps:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Install dependencies
run: |
sudo apt-get -y update && sudo apt-get install -y sudo apt-utils wget cmake build-essential \
libglew-dev git g++ libusb-1.0-0-dev libgtest-dev libssl-dev \
libglew-dev git g++ libusb-1.0-0-dev libgtest-dev libgmock-dev libssl-dev \
python3-pip python3-distutils xvfb libglfw3 libglfw3-dev libglew-dev libopencv-dev ffmpeg \
libboost-dev libboost-program-options-dev libboost-filesystem-dev libboost-timer-dev \
libboost-chrono-dev libboost-thread-dev zip unzip
python3 -m pip install --upgrade pip
python3 -m pip install opencv-python $numpy_version pytest torch scipy sk-video numba h5py command_runner
libboost-chrono-dev libboost-thread-dev zip unzip git-lfs libhdf5-dev hdf5-tools
pip install $numpy_version pytest 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
- name: Build pybind and gtest
run: |
Expand All @@ -89,12 +87,6 @@ jobs:
cmake .. -DPYBIND11_TEST=OFF
cmake --build . --config Release --parallel 4
sudo make install
cp -r /usr/src/googletest/googletest ${openebfolder}/../
cd ${openebfolder}/../googletest
mkdir build && cd build
cmake ..
cmake --build . --config Release --parallel 4
sudo make install
- name: Build openEB
run: |
Expand Down Expand Up @@ -149,7 +141,7 @@ jobs:
cd ..
unzip -q "vcpkg-export.zip"
7z x ffmpeg-archive.7z
$python_executable -m pip install pytest $numpy_version opencv-python torch scipy sk-video numba h5py command_runner
$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
cd openeb
- name: Build openEB
Expand Down
13 changes: 1 addition & 12 deletions .github/workflows/upload_datasets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- cron: "15 2 1 */2 *"

env:
dataset_download_address: "https://dataset.prophesee.ai/index.php/s/hyCzGM4tpR8w5bx/download"
dataset_download_address: "https://dataset.prophesee.ai/index.php/s/tiP0wl0r5aW5efL/download"

jobs:
get_artifacts:
Expand All @@ -24,14 +24,3 @@ jobs:
with:
name: datasets
path: datasets

- name: Slack Notification
if: always()
uses: rtCamp/action-slack-notify@v2
env:
SLACK_WEBHOOK: ${{ secrets.OPENEB_GITHUB_PROPHESEE_SLACK_WEBHOOK }}
SLACK_TITLE: Datasets update
SLACK_MESSAGE: "Status: ${{ job.status }}"
SLACK_COLOR: ${{ job.status }}
SLACK_FOOTER: ""
MSG_MINIMAL: true
13 changes: 1 addition & 12 deletions .github/workflows/upload_win_binaries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- cron: "15 2 1 */2 *"

env:
win_binaries_download_address: "https://prophesee-bamboo.s3.eu-west-1.amazonaws.com/build-env/vcpkg-export-20221025-MV3.1.0.zip"
win_binaries_download_address: "https://prophesee-bamboo.s3.eu-west-1.amazonaws.com/build-env/vcpkg-export-20230323-MV4.0.0.zip"
ffmpeg_archive_download_address: "https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-full.7z"

jobs:
Expand All @@ -31,14 +31,3 @@ jobs:
with:
name: ffmpeg_archive
path: ffmpeg-archive.7z

- name: Slack Notification
if: always()
uses: rtCamp/action-slack-notify@v2
env:
SLACK_WEBHOOK: ${{ secrets.OPENEB_GITHUB_PROPHESEE_SLACK_WEBHOOK }}
SLACK_TITLE: VCPKG export update
SLACK_MESSAGE: "Status: ${{ job.status }}"
SLACK_COLOR: ${{ job.status }}
SLACK_FOOTER: ""
MSG_MINIMAL: true
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ __pycache__/
.vscode/
.vs/
out/
.idea

# Raw data index files
*.raw.tmp_index
*.raw.tmp_index

# Generated open source license RST file
doc/source/open_source_licenses.rst
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "sdk/modules/driver/cpp/3rdparty/hdf5_ecf"]
path = sdk/modules/driver/cpp/3rdparty/hdf5_ecf
url = https://github.com/prophesee-ai/hdf5_ecf.git
Loading

0 comments on commit ea2cf58

Please sign in to comment.