Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ctest cases from existing example tests (#20)
* rework github action for build and test and delete old one * adapt workflow to be compatible with local execution using nektos/act * switch back to explicit docker create/exec commands instead of 'container' option The container option doesn't support QEMU emulation and thus selecting a architecture different from the runners/host's one crashed the container with a 'exec format error'. Unfortunately this breaks running the workflows locally using nektos/act. I still have to figure out why exactly. * fix whitespaces and newline at end of file * replace hardcoded paths by variable ones in upload-artifact steps * Clean up docker create command * Consistently use bash -c in docker exec commands, and use single quotes instead of double quotes to prevent host side shell expansion * Enable testing and add test cases from run_tests.sh * Execute tests as non root since MPI requires this. * fix newline at end of file * set max. cores to two for debugging MPI in GitHub Action runners * Add non-root user already in first stage, to make it available in the fans-ci image as well * remove linux/arm64 from build and test workflow. Drop QEMU and make use of container: parameter * add debug output to compare two ways of determining available cores/mpi slots * use cmake_host_system_information instead as this actually gives the number of physical cores, which is the relevant number for MPI * remove unnecessary ProcessorCount module include * Update test names in CMake recipe * Use correct path in test execution in the CMake recipe * Use correct capital case * Use correct relative path in test/CMakeLists.txt Co-authored-by: Sanath Keshav <sanathkeshav.mysore@gmail.com> --------- Co-authored-by: Ishaan Desai <ishaandesai@gmail.com> Co-authored-by: Sanath Keshav <sanathkeshav.mysore@gmail.com>
- Loading branch information