Skip to content

Commit

Permalink
[ci] ignore system package error
Browse files Browse the repository at this point in the history
  • Loading branch information
hugsy committed Jul 27, 2024
1 parent 2d8c951 commit 7cb9253
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,13 @@ jobs:
shell: bash

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install python and toolchain
run: |
export NEEDRESTART_MODE=n
sudo apt-get update
sudo apt-get remove -y python3-pip python3-wheel python3-setuptools
sudo apt-get install -y gdb-multiarch python3-dev git cmake gcc g++ pkg-config libglib2.0-dev gdbserver qemu-user
wget -O /tmp/get-pip.py https://bootstrap.pypa.io/get-pip.py
python3 /tmp/get-pip.py --user
python3 -m pip install --upgrade pip wheel build setuptools
sudo apt-get install -y gdb-multiarch python3-full python3-dev python3-pip python3-wheel python3-setuptools git cmake gcc g++ pkg-config libglib2.0-dev gdbserver qemu-user
- name: Set runtime environment variables
run: |
Expand All @@ -45,7 +41,7 @@ jobs:
echo GEF_CI_CACHE_DIR=`python3 -m pip cache dir` >> $GITHUB_ENV
- name: Cache dependencies
uses: actions/cache@v3
uses: actions/cache@v4
id: cache-deps
env:
cache-name: cache-deps
Expand All @@ -61,7 +57,7 @@ jobs:
- name: Install Python Requirements
run: |
mkdir -p ${{ env.GEF_CI_CACHE_DIR }}
python${{ env.PY_VER }} -m pip install --user --upgrade -r tests/requirements.txt
python${{ env.PY_VER }} -m pip install --break-system-packages --user --upgrade -r tests/requirements.txt
- name: Setup GEF
run: |
Expand Down

0 comments on commit 7cb9253

Please sign in to comment.