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

♻️ Modernize Project Structure #216

Merged
merged 84 commits into from
Jul 5, 2024
Merged
Changes from 1 commit
Commits
Show all changes
84 commits
Select commit Hold shift + click to select a range
82b30a7
update configs
lucasberent Apr 21, 2024
68bc8c7
🎨 pre-commit fixes
pre-commit-ci[bot] Apr 21, 2024
c99aa20
fix typos
lucasberent Apr 21, 2024
f1231ef
local merge
lucasberent Apr 21, 2024
e8451ec
🎨 pre-commit fixes
pre-commit-ci[bot] Apr 21, 2024
1b76d16
try fix src/cmake
lucasberent Apr 21, 2024
721f4ce
fix cmake
lucasberent Apr 21, 2024
435ae09
🎨 pre-commit fixes
pre-commit-ci[bot] Apr 21, 2024
ead7e3b
move flint finding to external dependencies script
lucasberent Apr 21, 2024
7bb2546
Merge remote-tracking branch 'origin/update-mqt-core' into update-mqt…
lucasberent Apr 21, 2024
edf5bc3
fix typo
lucasberent Apr 21, 2024
7a9df4f
try finding flint by adding custom module path
lucasberent Apr 21, 2024
3fbc975
Merge branch 'main' into update-mqt-core
lucasberent Apr 21, 2024
3431d3b
adapt test cmake
lucasberent Apr 21, 2024
5d32a87
Merge remote-tracking branch 'origin/update-mqt-core' into update-mqt…
lucasberent Apr 21, 2024
acec7e0
🎨 pre-commit fixes
pre-commit-ci[bot] Apr 21, 2024
38b8243
fix typo
lucasberent Apr 21, 2024
f604206
🎨 pre-commit fixes
pre-commit-ci[bot] Apr 21, 2024
80354a6
Merge branch 'refs/heads/main' into update-mqt-core
burgholzer Jun 28, 2024
37837f0
Merge branch 'refs/heads/main' into update-mqt-core
burgholzer Jul 2, 2024
2d4b35a
🚨 add editorconfig
burgholzer Jul 2, 2024
35fc3d6
🧱 switch to FetchContent-managed mqt-core
burgholzer Jul 2, 2024
9b248f9
🩹 fix clang-tidy config
burgholzer Jul 2, 2024
bc25211
🩹 fix clang-format standard
burgholzer Jul 2, 2024
d091cae
👷 add auto cancellation to docs job
burgholzer Jul 2, 2024
60dc755
🔧 update scikit-build-core config
burgholzer Jul 2, 2024
78f1718
🔧 update noxfile
burgholzer Jul 2, 2024
02ca40f
🔧 update cibuildwheel config
burgholzer Jul 2, 2024
15a6473
📝 proper docs link
burgholzer Jul 2, 2024
33bf92e
🔥 trim config
burgholzer Jul 2, 2024
9a8d557
👷 update mypy CI
burgholzer Jul 2, 2024
3f09340
🔧 update cpp-linter config
burgholzer Jul 2, 2024
b18f865
🚨 naming fixes
burgholzer Jul 2, 2024
1fba4bc
👷 update codeql workflow
burgholzer Jul 2, 2024
1a0d22b
👷 update C++ CI workflow
burgholzer Jul 2, 2024
f56b1f1
👷 update Python CI workflow
burgholzer Jul 2, 2024
80a71b3
🩹 fix uninstall target
burgholzer Jul 2, 2024
a4e938a
🩹 fix pyqecc target
burgholzer Jul 2, 2024
ee9053d
🩹 fix bindings.cpp
burgholzer Jul 2, 2024
97042c2
🩹 link to the MQT::CoreECC target
burgholzer Jul 2, 2024
939b90b
🍎 make flint install work on apple silicon
burgholzer Jul 2, 2024
1314e02
🩹 fix QASM loading and dumping
burgholzer Jul 2, 2024
8c6fef3
🔥 remove unnecessary warning filters
burgholzer Jul 2, 2024
f10c3f1
🍎 better flint support for Python package
burgholzer Jul 2, 2024
c573a0e
📌 proper lower bounds for packages
burgholzer Jul 2, 2024
cc873a5
🔧 add build transitive build time dependencies
burgholzer Jul 2, 2024
b9ce3c0
🍎 try alternative wheel repair command
burgholzer Jul 2, 2024
be3e1d7
🔧 do not install ntl
burgholzer Jul 2, 2024
194c9b1
♻️ refactor deployment job
burgholzer Jul 2, 2024
2e37f83
📌 add lower bound to `bposd`
burgholzer Jul 2, 2024
aa0d878
⚗️ rework flint installation command
burgholzer Jul 2, 2024
3a56437
⚡ switch to no-isolation for cibuildwheel
burgholzer Jul 2, 2024
d51c561
🩹 fix C++ testing
burgholzer Jul 2, 2024
e6583e8
🔧 run manylinux flint build with 4 cores
burgholzer Jul 2, 2024
fec11fd
♻️ better flint management
burgholzer Jul 2, 2024
d50258f
🩹 add build time dependencies for cibuildwheel
burgholzer Jul 2, 2024
2180ebe
⚗️ try different copy command
burgholzer Jul 2, 2024
4f332bc
🩹 fix C++ test files
burgholzer Jul 2, 2024
9d002f1
♻️ only run wheel builds on PRs that change the file
burgholzer Jul 2, 2024
691324f
⏪ do not rely on no-isolation
burgholzer Jul 2, 2024
80c58ec
🍎 remove Python 3.11 tests
burgholzer Jul 2, 2024
570934c
♻️ refactor CI to closely resemble reusable MQT workflows
burgholzer Jul 2, 2024
e2a61b2
🔧 test Python 3.10 instead of 3.8 on macos-14
burgholzer Jul 2, 2024
62b58e8
⚗️ try workaround for `ldpc` on Python 3.12
burgholzer Jul 2, 2024
4ec4ae0
🎨 quote python version
burgholzer Jul 2, 2024
16302c6
⚗️ exchange arguments of find package hanlde standard args
burgholzer Jul 2, 2024
49e0402
⚗️ try separating the install of the build time dependencies and the …
burgholzer Jul 2, 2024
d289068
⚗️ try revamping the FindMPFR script
burgholzer Jul 2, 2024
abb88a4
🍎⚡ make flint build on macOS cacheable
burgholzer Jul 2, 2024
1fe6132
⚗️ try to explicitly set the MPFR Root
burgholzer Jul 2, 2024
53e698b
📦 adjust git_archival configuration
burgholzer Jul 3, 2024
1ae3631
📝 adjust readme badges
burgholzer Jul 3, 2024
14f00e4
📦⚡ only build the bindings target instead of the default `ALL` target
burgholzer Jul 3, 2024
77bb9c6
🙈 update gitignore
burgholzer Jul 3, 2024
9fa4e7d
🚨 update pre-commit config
burgholzer Jul 3, 2024
5a10927
🔥 remove constraints file
burgholzer Jul 3, 2024
640d5ef
🩹 remove wrong copy&paste config
burgholzer Jul 3, 2024
7f7c17b
✏️ switch to `crate-ci/typos` and fix typos
burgholzer Jul 3, 2024
c70ab41
♻️ streamline flint dependency handling
burgholzer Jul 3, 2024
e55e191
🚨 try to address a couple of clang-tidy errors
burgholzer Jul 3, 2024
8d0d545
🩹 gmp website is blocking GitHub domains
burgholzer Jul 3, 2024
c615b13
🩹 fix missing include
burgholzer Jul 3, 2024
2e920a5
🩹 fine tune FindFLINT.cmake
burgholzer Jul 3, 2024
b1acce8
🚨 optimize for code coverage
burgholzer Jul 3, 2024
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
Prev Previous commit
Next Next commit
adapt test cmake
lucasberent committed Apr 21, 2024
commit 3431d3b406948fb202a79c3559e136c5681402a6
27 changes: 1 addition & 26 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,33 +1,8 @@
if(NOT TARGET gtest OR NOT TARGET gmock)
# Prevent overriding the parent project's compiler/linker settings on Windows
set(gtest_force_shared_crt # cmake-lint: disable=C0103
ON
CACHE BOOL "" FORCE)
add_subdirectory("${PROJECT_SOURCE_DIR}/extern/mqt-core/extern/googletest"
"extern/mqt-core/extern/googletest" EXCLUDE_FROM_ALL)
set_target_properties(gtest gtest_main gmock gmock_main PROPERTIES FOLDER extern)
endif()

# create executable for /test/app.cpp
add_executable(${PROJECT_NAME}_app ${CMAKE_CURRENT_SOURCE_DIR}/app.cpp)
target_link_libraries(${PROJECT_NAME}_app PRIVATE ${PROJECT_NAME}_lib)
set_target_properties(
${PROJECT_NAME}_app
PROPERTIES FOLDER tests
CMAKE_CXX_STANDARD_REQUIRED ON
CXX_EXTENSIONS OFF)

package_add_test(
mqt-qecc-test
MQT::QECC
test_ufdheuristic.cpp
test_utils.cpp
test_originalUfd.cpp
test_simulator.cpp
test_treenode.cpp)

# files containing codes for tests
file(
COPY "${PROJECT_SOURCE_DIR}/examples/test/"
DESTINATION "${CMAKE_CURRENT_SOURCE_DIR}/resources/codes/"
PATTERN "*")
test_treenode.cpp)