Skip to content

Commit

Permalink
CI: PC Sampling to be included in code coverage (#45)
Browse files Browse the repository at this point in the history
* CI: PC Sampling to be included in code coverage

* Update continuous_integration.yml

* Update continuous_integration.yml

* Update continuous_integration.yml

* Update continuous_integration.yml
  • Loading branch information
ammarwa authored Dec 4, 2024
1 parent 21c577b commit eedee0f
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/continuous_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
strategy:
fail-fast: false
matrix:
runner: ['mi200-emu', 'mi300-emu']
runner: ['vega20-emu', 'mi300-emu']
os: ['ubuntu-22.04']
build-type: ['RelWithDebInfo']
ci-flags: ['--linter clang-tidy']
Expand Down Expand Up @@ -280,14 +280,14 @@ jobs:
${{github.workspace}}/build/*.tgz
code-coverage:
if: ${{ contains(github.event_name, 'pull_request') }}
strategy:
# fail-fast: false
matrix:
runner: ['vega20-emu']
runner: ['mi200-emu']
os: ['ubuntu-22.04']
build-type: ['Release']

if: ${{ contains(github.event_name, 'pull_request') }}
runs-on: ${{ matrix.runner }}-runner-set

# define this for containers
Expand Down Expand Up @@ -357,6 +357,13 @@ jobs:
cat /opt/rocm/.info/version
ls -la
- name: Enable PC Sampling
if: ${{ contains(matrix.runner, 'mi200') }}
shell: bash
run: |
echo "EXCLUDED_TESTS=''" >> $GITHUB_ENV
echo 'ROCPROFILER_PC_SAMPLING_BETA_ENABLED=1' >> $GITHUB_ENV
- name: Configure, Build, and Test (Total Code Coverage)
timeout-minutes: 30
shell: bash
Expand Down Expand Up @@ -554,7 +561,7 @@ jobs:
strategy:
fail-fast: false
matrix:
runner: ['vega20-emu', 'navi3-emu', mi300-emu]
runner: ['vega20-emu', 'navi3-emu', 'mi300-emu']
sanitizer: ['AddressSanitizer', 'ThreadSanitizer', 'LeakSanitizer', 'UndefinedBehaviorSanitizer']
os: ['ubuntu-22.04']
build-type: ['RelWithDebInfo']
Expand Down

0 comments on commit eedee0f

Please sign in to comment.