From e3bd7de51770d8f7c10e3e20d5b46cc4715ab153 Mon Sep 17 00:00:00 2001 From: Ashley Pittman Date: Sat, 23 Mar 2024 19:50:59 +0000 Subject: Install all test/build python packages from requirements.txt Have GitHub actions setup python on runners and install all python dependencies via pip. Signed-off-by: Ashley Pittman --- .github/workflows/pr-ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to '.github') diff --git a/.github/workflows/pr-ci.yml b/.github/workflows/pr-ci.yml index 3b1b76e..f4e0c46 100644 --- a/.github/workflows/pr-ci.yml +++ b/.github/workflows/pr-ci.yml @@ -23,8 +23,11 @@ jobs: steps: - name: Install dependencies (Ubuntu) if: runner.os == 'Linux' - run: sudo apt-get update && sudo apt-get install -y clang doxygen gcc gcc-10 gcc-9 libstdc++-10-dev libstdc++-9-dev ninja-build python3-pip python3-setuptools valgrind + run: sudo apt-get update && sudo apt-get install -y clang doxygen gcc gcc-10 gcc-9 valgrind - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2 - - run: test/ci-install.sh + - uses: actions/setup-python@v5 + with: + python-version: '3.12' + - run: pip install -r requirements.txt - run: test/ci-build.sh -- cgit v1.2.3