Swap the benchmark job to the same container we use for installers with some things preinstalled (#16663)

This commit is contained in:
Chris Marslender 2023-10-19 13:54:17 -05:00 committed by GitHub
parent 1779433502
commit 81e487f6f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,7 @@ jobs:
name: Benchmarks
runs-on: benchmark
container:
image: ubuntu:22.04
image: chianetwork/ubuntu-22.04-builder:latest
timeout-minutes: 30
strategy:
fail-fast: false
@ -41,13 +41,6 @@ jobs:
- name: Clean workspace
uses: Chia-Network/actions/clean-workspace@main
- name: Set up container
env:
DEBIAN_FRONTEND: noninteractive
run: |
apt-get update
apt-get install -y lsb-release git sudo
- name: Add safe git directory
uses: Chia-Network/actions/git-mark-workspace-safe@main
@ -56,11 +49,6 @@ jobs:
with:
fetch-depth: 0
- name: Setup Python environment
uses: Chia-Network/actions/setup-python@main
with:
python-version: ${{ matrix.python-version }}
- name: Get pip cache dir
id: pip-cache
shell: bash