no json for 4.7 and 4.8

This commit is contained in:
Robin Appelman 2021-10-27 20:36:30 +02:00
commit 8d3ac8262b

View file

@ -36,10 +36,19 @@ jobs:
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
- name: Configure
if: matrix.pkgver == '4.8.12' || matrix.pkgver == '4.7.12'
run: |
cd samba-${{ matrix.pkgver }}
./buildtools/bin/waf configure --prefix= --bundled-libraries=ALL --with-static-modules=ALL --nonshared-binary=client/smbclient --without-ad-dc --without-gettext --with-winbind --without-ads --disable-cups --without-ldap --without-libarchive --without-pam
- name: Configure
if: matrix.pkgver != '4.8.12' && matrix.pkgver != '4.7.12'
run: |
cd samba-${{ matrix.pkgver }}
./buildtools/bin/waf configure --prefix= --bundled-libraries=ALL --with-static-modules=ALL --nonshared-binary=client/smbclient --without-ad-dc --without-gettext --with-winbind --without-ads --disable-cups --without-json --without-ldap --without-libarchive --without-pam
- name: Build
run: |
cd samba-${{ matrix.pkgver }}
./buildtools/bin/waf build -j $(nproc --all) --targets client/smbclient
- name: Upload binaries to release
uses: actions/upload-artifact@v2