Revert "Tests and fixes one more corner case of ToT x ToT evaluation." #1093
Workflow file for this run
This file contains 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: TiledArray CI | |
on: [push] | |
env: | |
CMAKE_BUILD_PARALLEL_LEVEL : 2 | |
jobs: | |
MacOS-Build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os : [ macos-latest ] | |
cxx : [ clang++, /opt/homebrew/bin/g++-11 ] | |
build_type : [ Release, Debug ] | |
task_backend: [ Pthreads, PaRSEC ] | |
prerequisites : [ gcc@11 boost eigen open-mpi bison scalapack ] | |
name: "${{ matrix.os }}: ${{ matrix.cxx }} ${{ matrix.build_type }} ${{ matrix.task_backend }}" | |
runs-on: ${{ matrix.os }} | |
env: | |
CXX : ${{ matrix.cxx }} | |
BUILD_CONFIG : > | |
-DMADNESS_TASK_BACKEND=${{ matrix.task_backend }} | |
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }} | |
-DMPIEXEC_PREFLAGS='--bind-to;none;--allow-run-as-root' | |
-DCMAKE_PREFIX_PATH="/usr/local/opt/bison;/usr/local/opt/scalapack" | |
-DTA_ASSERT_POLICY=TA_ASSERT_THROW | |
-DENABLE_SCALAPACK=ON | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: 'latest-stable' | |
- name: Host system info | |
shell: bash | |
run: cmake -P ${{github.workspace}}/ci/host_system_info.cmake | |
- name: Install ${{matrix.prerequisites}} | |
run: | | |
brew install ${{matrix.prerequisites}} | |
echo "/usr/local/opt/bison/bin" >> $GITHUB_PATH | |
- name: "Configure build: ${{ env.BUILD_CONFIG }}" | |
shell: bash | |
run: | | |
set -x; | |
cmake -B${{github.workspace}}/build $BUILD_CONFIG || (cat CMakeFiles/CMakeOutput.log && cat CMakeFiles/CMakeError.log) | |
- name: Build | |
working-directory: ${{github.workspace}}/build | |
shell: bash | |
run: | | |
cmake --build . --target tiledarray | |
cmake --build . --target examples | |
- name: Test | |
working-directory: ${{github.workspace}}/build | |
shell: bash | |
#run: ctest -C $${{matrix.build_type}} | |
run: | | |
source ${{github.workspace}}/ci/openmpi.env | |
cmake --build . --target ta_test | |
cmake --build . --target check-tiledarray |