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

[bugfix] is_unique gave a broadcast error, instead of returning false for non-unique data #255

Merged
merged 9 commits into from
Aug 26, 2022
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,12 @@ jobs:
include:
- runs-on: ubuntu-latest
config: -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=1 -DBUILD_EXAMPLES=1
conda: docs/examples/environment.yaml
prop: tests & examples
- runs-on: macos-latest
config: -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=1 -DBUILD_DOCS=1
conda: environment.yaml
prop: tests
- runs-on: windows-latest
config: -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=1 -G Ninja -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
conda: environment.yaml
prop: tests

defaults:
Expand All @@ -44,7 +41,7 @@ jobs:
- name: Set conda environment
uses: mamba-org/provision-with-micromamba@main
with:
environment-file: ${{ matrix.conda }}
environment-file: environment.yaml
environment-name: myenv

- name: Install clang
Expand All @@ -71,6 +68,15 @@ jobs:
- name: Run Python tests
run: python -m unittest discover tests

- name: Run examples (statics)
working-directory: docs/examples/statics
run: |
python fixed-displacement_elastic.py
python fixed-displacement_elastic_manual-partition.py
python partial-periodic_elastic.py
python periodic_elastoplastic.py
python periodic_elastoplastic_finite-strain.py

- name: Build doxygen-docs (error on warning)
if: runner.os == 'macOS'
working-directory: build
Expand Down
13 changes: 0 additions & 13 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ string(TOUPPER "${PROJECT_NAME}" PROJECT_NAME_UPPER)

option(BUILD_ALL "${PROJECT_NAME}: Build tests, Python API & docs" OFF)
option(BUILD_TESTS "${PROJECT_NAME}: Build tests" OFF)
option(BUILD_EXAMPLES "${PROJECT_NAME}: Build examples" OFF)
option(BUILD_PYTHON "${PROJECT_NAME}: Build Python API" OFF)
option(BUILD_DOCS "${PROJECT_NAME}: Build docs" OFF)
option(USE_WARNINGS "${PROJECT_NAME}: Build with runtime warnings" ON)
Expand Down Expand Up @@ -115,18 +114,6 @@ if(BUILD_TESTS OR BUILD_ALL)
enable_testing()
add_subdirectory(tests/basic)

enable_testing()
add_subdirectory(tests/gmat)
endif()

# Build examples
# ==============

if(BUILD_EXAMPLES OR BUILD_ALL)

enable_testing()
add_subdirectory(docs/examples)

endif()

# Build Python API
Expand Down
60 changes: 0 additions & 60 deletions docs/details/figures/ParaView/HDF5/CMakeLists.txt

This file was deleted.

64 changes: 0 additions & 64 deletions docs/details/figures/ParaView/HDF5/main.cpp

This file was deleted.

71 changes: 0 additions & 71 deletions docs/details/figures/ParaView/HDF5/main.py

This file was deleted.

26 changes: 0 additions & 26 deletions docs/examples/environment.yaml

This file was deleted.

This file was deleted.

Loading