Skip to content

Commit 7b2ef12

Browse files
committed
perf.yml
1 parent 7e3ee16 commit 7b2ef12

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/perf.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,16 @@ on:
44
jobs:
55
ubuntu-gcc-build-perf-stats:
66
runs-on: ubuntu-24.04
7+
container:
8+
image: ghcr.io/learning-process/ppc-ubuntu:latest
9+
credentials:
10+
username: ${{ github.actor }}
11+
password: ${{ secrets.GITHUB_TOKEN }}
712
steps:
813
- uses: actions/checkout@v4
914
- name: Setup environment
1015
run: |
11-
sudo apt-get update
12-
sudo apt-get install --no-install-recommends -y gcc-14 g++-14 ninja-build libmpich-dev libomp-dev valgrind
13-
python3 -m pip install -r requirements.txt
16+
python3 -m pip install -r requirements.txt --break-system-packages --ignore-installed
1417
- name: Download installed package
1518
uses: actions/download-artifact@v4
1619
with:
@@ -25,6 +28,8 @@ jobs:
2528
env:
2629
PPC_NUM_PROC: 2
2730
PPC_NUM_THREADS: 2
31+
OMPI_ALLOW_RUN_AS_ROOT: 1
32+
OMPI_ALLOW_RUN_AS_ROOT_CONFIRM: 1
2833
- name: Archive results
2934
working-directory: build
3035
run: zip -r ../perf-stat.zip perf_stat_dir

0 commit comments

Comments
 (0)