Skip to content

Commit 2b55900

Browse files
committed
ci: Update newt to r0.52.25
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
1 parent 5c8a5df commit 2b55900

2 files changed

Lines changed: 7 additions & 8 deletions

File tree

.github/actions/perform-tests/action.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,19 +26,18 @@ runs:
2626
- name: Install python-newt
2727
shell: bash
2828
run: |
29-
sudo apt-get update
30-
sudo apt-get install libpopt-dev libslang2-dev gettext
29+
apt-get update
30+
apt-get install libpopt-dev libslang2-dev gettext
3131
[ -d newt ] || git clone https://pagure.io/newt.git
3232
cd newt
3333
git checkout $NEWT_REVISION
3434
autoreconf -fi
3535
./configure --with-python=python${{ matrix.python-version }}
3636
make -j $(nproc)
37-
sudo make install
38-
ln -s /usr/local/lib/python${{ matrix.python-version }}/site-packages/_snack.so \
39-
$(python3 -c 'import site; print(site.getsitepackages()[0])')/
40-
ln -s /usr/local/lib/python${{ matrix.python-version }}/site-packages/snack.py \
41-
$(python3 -c 'import site; print(site.getsitepackages()[0])')/
37+
[ -f $(dirname $(which python3))/python${{ matrix.python-version }} ] || \
38+
ln -s python3 $(dirname $(which python3))/python${{ matrix.python-version }}
39+
make install
40+
ln -s dist-packages /usr/local/lib/python3.12/site-packages
4241
- name: Run offline tests
4342
shell: bash
4443
env:

.github/workflows/next.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
env:
1111
SHELLCHECK_VERSION: v0.10.0
1212
SHELLCHECK_SHA256: 6c881ab0698e4e6ea235245f22832860544f17ba386442fe7e9d629f8cbedf87
13-
NEWT_REVISION: 5f2762040505edd7a25878fe27a00a2d34485663 # r0.52.24
13+
NEWT_REVISION: 9b9e7e8936f51f83a7259c5f0a9b4ff909cbd39a # r0.52.25
1414

1515
jobs:
1616
codestyle:

0 commit comments

Comments
 (0)