Skip to content

Commit d44be14

Browse files
michalharakalclaude
andcommitted
Use install_pts.sh for PTS on the smoke CI runner
The previous workflow step ran `apt-get install -y phoronix-test-suite` on ubuntu-latest, which 404s on 24.04 (PTS isn't in the default repos). Calling install_pts.sh — which we already ship for the self-hosted runner — keeps both lanes consistent. Also fix the .deb URL baked into install_pts.sh: the phoronix-test-suite.com/releases/repo/pts.debian path returns 404; the upstream GitHub release at v10.8.4 is the canonical source. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 95b6391 commit d44be14

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/engine-benchmarks.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,10 @@ jobs:
5252
java-version: 21
5353

5454
- name: Install Phoronix Test Suite
55+
# PTS isn't in Ubuntu 24.04's default repos; install_pts.sh pulls
56+
# the upstream .deb from the official GitHub release.
5557
run: |
56-
sudo apt-get update
57-
sudo apt-get install -y phoronix-test-suite
58+
./scripts/install_pts.sh
5859
5960
- name: Build publication harness shadow jar
6061
env:

scripts/install_pts.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
# Run as the operator (uses sudo). Idempotent — safe to re-run.
77
set -euo pipefail
88

9-
PTS_VERSION="${PTS_VERSION:-10.8.6}"
10-
DEB_URL="https://phoronix-test-suite.com/releases/repo/pts.debian/files/phoronix-test-suite_${PTS_VERSION}_all.deb"
9+
PTS_VERSION="${PTS_VERSION:-10.8.4}"
10+
DEB_URL="https://github.com/phoronix-test-suite/phoronix-test-suite/releases/download/v${PTS_VERSION}/phoronix-test-suite_${PTS_VERSION}_all.deb"
1111
TMP_DEB="/tmp/phoronix-test-suite_${PTS_VERSION}_all.deb"
1212

1313
if command -v phoronix-test-suite >/dev/null 2>&1; then

0 commit comments

Comments
 (0)