Partially parallelize evolve function
#1125
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: Test the installation on Linux | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Install tools manually | |
| run: sudo apt update && sudo apt install libtbb-dev | |
| - uses: actions/checkout@v4 | |
| - name: Build and install | |
| working-directory: ${{github.workspace}} | |
| run: | | |
| mkdir -p build && cd build | |
| cmake .. | |
| cmake --build . | |
| sudo cmake --install . | |
| - name: Test include | |
| working-directory: ${{github.workspace}} | |
| run: | | |
| touch test.cpp | |
| echo "#include <dsm/dsm.hpp>" >> test.cpp | |
| echo "int main() {}" >> test.cpp | |
| g++ test.cpp -std=c++20 && echo "Compiled successfully" || echo "Cannot include dsm" |