Skip to content

Commit fd339b0

Browse files
author
Fabien Servant
committed
Condition functional testing on ubuntu
1 parent 755cf9b commit fd339b0

1 file changed

Lines changed: 12 additions & 6 deletions

File tree

.github/workflows/continuous-integration.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,15 @@ jobs:
3737
steps:
3838
- uses: actions/checkout@v1
3939

40+
- name: Set AGENT_TOOLSDIRECTORY
41+
run: echo "AGENT_TOOLSDIRECTORY=${{ runner.temp }}/tools-${{ matrix.container }}" >> $GITHUB_ENV
42+
43+
- name: Setup python
44+
if: ${{ contains(matrix.container, 'ubuntu') }}
45+
uses: actions/setup-python@v5
46+
with:
47+
python-version: '3.11'
48+
4049
- name: Prepare File Tree
4150
run: |
4251
mkdir ./build
@@ -77,12 +86,6 @@ jobs:
7786
run: |
7887
make install
7988
80-
- name: Unit Tests
81-
working-directory: ./build
82-
run: |
83-
export LD_LIBRARY_PATH=${ALICEVISION_ROOT}/lib:${ALICEVISION_ROOT}/lib64:${DEPS_INSTALL_DIR}/lib64:${DEPS_INSTALL_DIR}/lib:${LD_LIBRARY_PATH}
84-
make test
85-
8689
- name: Build As Third Party
8790
working-directory: ./build_as_3rdparty
8891
run: |
@@ -92,6 +95,7 @@ jobs:
9295
make -j$(nproc)
9396
9497
- name: Functional Tests - PanoramaFisheyeHdr Pipeline
98+
if: ${{ contains(matrix.container, 'ubuntu') }}
9599
working-directory: ./functional_tests
96100
run: |
97101
# Clone required repos
@@ -118,6 +122,7 @@ jobs:
118122
python3 meshroom_batch -i $PWD/../../dataset_panoramaFisheyeHdr/RAW -p panoramaFisheyeHdr -o $PWD/../outputData
119123
120124
- name: Functional Tests - SfM Quality Evaluation
125+
if: ${{ contains(matrix.container, 'ubuntu') }}
121126
working-directory: ./functional_tests
122127
run: |
123128
git clone --branch master https://github.com/alicevision/SfM_quality_evaluation.git
@@ -137,6 +142,7 @@ jobs:
137142
pytest ./pyTests
138143
139144
- name: Meshroom Plugin - Templates validity
145+
if: ${{ contains(matrix.container, 'ubuntu') }}
140146
working-directory: ./functional_tests
141147
run: |
142148
git clone https://github.com/meshroomHub/mrSegmentation.git

0 commit comments

Comments
 (0)