Skip to content

Commit

Permalink
task05 setup CI for herzjesu25
Browse files Browse the repository at this point in the history
  • Loading branch information
I-7 committed Jun 16, 2024
1 parent 6523c66 commit 4b36237
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,14 @@ jobs:
# - name: Install OpenCL CPU driver
# run: sudo bash .github/scripts/install_intel_opencl.sh;

- name: Download dataset "herzjesu25"
run: |
cd data/src/datasets/herzjesu25
wget https://gist.githubusercontent.com/Yegorov/dc61c42aa4e89e139cd8248f59af6b3e/raw/20ac954e202fe6a038c2b4bb476703c02fe0df87/ya.py
chmod +x ya.py
./ya.py $(head -1 LINK.txt) .
unzip *.zip
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}

Expand Down
8 changes: 4 additions & 4 deletions tests/test_depth_maps_pm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@
// Datasets:

// достаточно чтобы у вас работало на этом датасете, тестирование на Travis CI тоже ведется на нем
#define DATASET_DIR "saharov32"
#define DATASET_DOWNSCALE 4
//#define DATASET_DIR "saharov32"
//#define DATASET_DOWNSCALE 4

//#define DATASET_DIR "temple47"
//#define DATASET_DOWNSCALE 8

// скачайте картинки этого датасета в папку data/src/datasets/herzjesu25/ по ссылке из файла LINK.txt в папке датасета
//#define DATASET_DIR "herzjesu25"
//#define DATASET_DOWNSCALE 8
#define DATASET_DIR "herzjesu25"
#define DATASET_DOWNSCALE 8
//________________________________________________________________________________

TEST (test_depth_maps_pm, SingleDepthMap) {
Expand Down

0 comments on commit 4b36237

Please sign in to comment.