WIP: Fixing matrix assembly and adding harmonic mean. #500
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: Build | |
| on: [push] | |
| jobs: | |
| build_ubuntu_latests_no_cuda: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Install criterion | |
| run: | | |
| source ./scripts/actions/install_criterion.sh | |
| if [[ $? -eq 0 ]]; then | |
| echo "Criterion installed" | |
| fi | |
| shell: bash | |
| - name: Build without cuda | |
| run: ./build.sh -r simulator | |
| - name: Test without cuda | |
| run: ./run_tests.sh | |
| build_ubuntu_22_04_cuda11: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Build without cuda | |
| run: ./build.sh -r simulator | |
| - uses: Jimver/[email protected] | |
| id: cuda-toolkit | |
| with: | |
| cuda: '11.7.0' | |
| method: 'network' | |
| linux-local-args: '["--toolkit"]' | |
| - name: Build with cuda 11 | |
| run: ./build.sh -r simulator | |
| build_ubuntu_22_04_cuda12: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Build without cuda | |
| run: ./build.sh -r simulator | |
| - uses: Jimver/[email protected] | |
| id: cuda-toolkit | |
| with: | |
| cuda: '12.1.0' | |
| method: 'network' | |
| linux-local-args: '["--toolkit"]' | |
| - name: Build with cuda 12 | |
| run: ./build.sh -r simulator |