File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 :
Original file line number Diff line number Diff line change 1010env :
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
1515jobs :
1616 codestyle :
You can’t perform that action at this time.
0 commit comments