diff --git a/.github/workflows/pr-linux-tests.yml b/.github/workflows/pr-linux-tests.yml index e65e4824d..dd812f1af 100644 --- a/.github/workflows/pr-linux-tests.yml +++ b/.github/workflows/pr-linux-tests.yml @@ -124,7 +124,8 @@ jobs: path: message.md pr-benchmark: - if: github.event.workflow_run.event == 'pull_request' + needs: pre_job + if: needs.pre_job.outputs.should_skip == 'false' runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 @@ -148,6 +149,19 @@ jobs: - name: Install scipy run: pip3 install scipy + # not sure which one of these are runtime dependencies + - name: Install dependencies + run: | + sudo apt-get update + sudo apt-get install -y \ + libcurl4-openssl-dev \ + libuv1-dev \ + libjpeg-dev \ + libpng-dev \ + libglfw3-dev \ + libwebp-dev \ + libopengl0 + - name: Run Benchmarks # excluding the API tests because they hang https://github.com/maplibre/maplibre-native/issues/1808 run: python3 vendor/benchmark/tools/compare.py --no-color benchmarks ./mbgl-benchmark-runner-main mbgl-benchmark-runner --benchmark_filter='^[^A][^P][^I].*' > benchmark_out.txt