IntegralInvariant fails when (0,0,0) is not in the domain #204
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI (linux/macOS/windows), PR | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, macOS-latest, windows-latest] | |
| BUILD_TYPE: [Release, Debug] | |
| python-version: ["3.9"] | |
| exclude: | |
| - os: windows-latest | |
| BUILD_TYPE: Debug | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| # Note: at least (5 + 1) for the whitelist to work | |
| fetch-depth: 6 | |
| - name: Getting build config | |
| id: "config" | |
| uses: ./.github/actions/dgtal-config | |
| with: | |
| config-name: ${{ github.event_name == 'push' && 'main' || 'PR' }} | |
| - name: Setup OS | |
| uses: ./.github/actions/setup-os | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Building and Testing | |
| uses: ./.github/actions/cmake | |
| with: | |
| build-type: ${{ matrix.build_type }} | |
| build-config: ${{ steps.config.outputs.cmake-config }} | |
| test: true | |
| test-threshold: ${{ steps.config.outputs.cmake-test-threshold }} | |
| test-blacklist: ${{ steps.config.outputs.cmake-test-blacklist }} | |
| test-whitelist: ${{ steps.config.outputs.cmake-test-whitelist }} | |
| - name: Testing system-wide includes | |
| if: matrix.os == 'ubuntu-latest' | |
| shell: bash | |
| working-directory: ${{ runner.workspace }}/DGtal/tests/projects | |
| run: | | |
| mkdir build && cd build | |
| cmake .. | |
| cmake --build . | |
| - name: DGtalTools (linux only, we check this PR against DGtalTools PR main2.0) | |
| if: matrix.os == 'ubuntu-latest' | |
| shell: bash | |
| working-directory: ${{ runner.workspace }}/build | |
| run: | | |
| git clone --depth 1 https://github.com/DGtal-team/DGtalTools.git | |
| cd DGtalTools | |
| mkdir buildDGtalTools | |
| cd buildDGtalTools | |
| cmake .. -DCMAKE_MODULE_PATH=${{ runner.workspace }}/DGtal/cmake/deps -DDGtal_DIR=${{ runner.workspace }}/build -DDGTALTOOLS_RANDOMIZED_BUILD_THRESHOLD=25 -G Ninja | |
| ninja | |
| # Documentatin (build, check and deploy) | |
| Documentation: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install graphviz texlive doxygen | |
| - name: Building pages | |
| run: | | |
| mkdir build | |
| cd build | |
| cmake .. | |
| wget --no-check-certificate -O "${{runner.workspace}}/DGtal/build/DGtalTools-tagfile" http://dgtal.org/doc/tags/DGtalTools-tagfile | |
| touch DGtalTools-tagfile | |
| make doc > buildDoc.log | |
| - name: Checking doc | |
| run: | | |
| pwd | |
| export BUILD_DIR=${{runner.workspace}}/DGtal/build | |
| export SRC_DIR=${{runner.workspace}}/DGtal/ | |
| .github/workflows/checkDoxygenDocumentation.sh | |
| #&& .github/workflows/check_src_file_tag.sh |