Merge pull request #4 from cvonelm/master #14
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 tests | |
| on: [push, pull_request, workflow_dispatch] | |
| env: | |
| SCOREP_TIMER: clock_gettime # tsc causes warnings | |
| RDMAV_FORK_SAFE: | |
| IBV_FORK_SAFE: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install CUDA compiler | |
| uses: Jimver/cuda-toolkit@v0.2.26 | |
| with: | |
| cuda: '12.8.0' | |
| method: network | |
| sub-packages: '["nvcc"]' | |
| - name: Add NVML | |
| run: sudo apt-get -y install libnvidia-ml-dev | |
| - name: Add Score-P repo | |
| run: sudo add-apt-repository ppa:score-p/releases | |
| - name: Install Score-P | |
| run: sudo apt-get -y install libunwind-dev scorep | |
| - name: Setup environment | |
| run: echo "$HOME/scorep/bin" >> $GITHUB_PATH | |
| - name: Build plugin | |
| uses: threeal/cmake-action@v1.3.0 | |
| with: | |
| run-build: true | |
| run-test: false |