Add CUPTI. libpfm4, radare2 and libaudit to CI build #992
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: Build | |
on: [push, pull_request] | |
env: | |
OTF2_VERSION: "3.0" | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-24.04] | |
compiler: [g++-12, g++-13, g++-14, clang++-16, clang++-17, clang++-18] | |
build-type: [Debug, RelWithDebInfo] | |
hw_breakpoint: [ON, OFF] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install binutils-dev libiberty-dev libsensors-dev libpfm4-dev libaudit-dev libcupti-dev nvidia-cuda-toolkit nvidia-cuda-dev libradare2-dev libotf2-trace-dev | |
sudo pip install git-archive-all | |
- name: Run CMake configure | |
env: | |
CXX: ${{ matrix.compiler }} | |
run: cmake . -DCMAKE_BUILD_TYPE=${{ matrix.build-type }} -DUSE_HW_BREAKPOINT_COMPAT=${{ matrix.hw_breakpoint }}} | |
- name: Build | |
run: make -j 2 | |
- name: Create source tarball | |
if: ${{ matrix.compiler == 'g++-12' && matrix.os == 'ubuntu-24.04' && matrix.build-type == 'RelWithDebInfo' && matrix.hw_breakpoint == 'ON' && github.event_name != 'pull_request'}} | |
run: make dist | |
- uses: actions/upload-artifact@v4 | |
if: ${{ matrix.compiler == 'g++-12' && matrix.os == 'ubuntu-24.04' && matrix.build-type == 'RelWithDebInfo' && matrix.hw_breakpoint == 'ON' && github.event_name != 'pull_request'}} | |
with: | |
overwrite: true | |
path: lo2s*.tar.bz2 |