mirror of
https://codeberg.org/icewind/smbclient-builder.git
synced 2026-06-03 18:14:07 +02:00
python 2 for 4.9 and lower
This commit is contained in:
parent
64b465e02b
commit
95e261af0d
1 changed files with 5 additions and 0 deletions
5
.github/workflows/ci.yaml
vendored
5
.github/workflows/ci.yaml
vendored
|
|
@ -27,10 +27,15 @@ jobs:
|
|||
sudo sed -Ei '/.*partner/! s/^# (deb-src .*)/\1/g' /etc/apt/sources.list
|
||||
sudo apt update
|
||||
sudo apt-get build-dep smbclient
|
||||
sudo apt install python2.7-dev
|
||||
- name: Download sources
|
||||
run: |
|
||||
wget "https://download.samba.org/pub/samba/stable/samba-${{ matrix.pkgver }}.tar.gz"
|
||||
tar xf samba-${{ matrix.pkgver }}.tar.gz
|
||||
- name: Switch to python 2.7
|
||||
if: matrix.pkgver == '4.9.18' || matrix.pkgver == '4.8.12' || matrix.pkgver == '4.7.12'
|
||||
run: |
|
||||
sudo update-alternatives --install /usr/bin/python python /usr/bin/python2.7 1
|
||||
- name: Build smbclient
|
||||
run: |
|
||||
cd samba-${{ matrix.pkgver }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue