mirror of
https://codeberg.org/icewind/smbclient-builder.git
synced 2026-06-03 10:04:08 +02:00
commit
f8b0c8a282
3 changed files with 17 additions and 35 deletions
20
.github/workflows/ci.yaml
vendored
20
.github/workflows/ci.yaml
vendored
|
|
@ -9,13 +9,16 @@ name: Build
|
|||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-22.04
|
||||
name: Build smbclient
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
pkgver:
|
||||
- 4.21.4
|
||||
- 4.20.4
|
||||
- 4.19.5
|
||||
- 4.18.1
|
||||
- 4.17.7
|
||||
- 4.16.10
|
||||
|
|
@ -24,18 +27,9 @@ jobs:
|
|||
- 4.13.12
|
||||
- 4.12.15
|
||||
- 4.11.17
|
||||
- 4.10.18
|
||||
- 4.9.18
|
||||
- 4.8.12
|
||||
- 4.7.12
|
||||
- 4.6.16
|
||||
- 4.5.16
|
||||
- 4.4.16
|
||||
- 4.3.13
|
||||
- 4.2.14
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install build dependencies
|
||||
run: |
|
||||
sudo sed -Ei '/.*partner/! s/^# (deb-src .*)/\1/g' /etc/apt/sources.list
|
||||
|
|
@ -60,7 +54,7 @@ jobs:
|
|||
cd samba-${{ matrix.pkgver }}
|
||||
./configure --prefix=/usr --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 \
|
||||
--with-configdir=/etc/samba --sysconfdir=/etc/samba --localstatedir=/var --enable-fhs
|
||||
--with-configdir=/etc/samba --sysconfdir=/etc/samba --localstatedir=/var --enable-fhs --without-ldb-lmd
|
||||
- name: Build
|
||||
run: |
|
||||
cd samba-${{ matrix.pkgver }}
|
||||
|
|
@ -70,7 +64,7 @@ jobs:
|
|||
cd samba-${{ matrix.pkgver }}
|
||||
./bin/default/source3/client/smbclient --help
|
||||
- name: Upload binaries to release
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
path: samba-${{ matrix.pkgver }}/bin/default/source3/client/smbclient
|
||||
name: smbclient-${{ matrix.pkgver }}
|
||||
|
|
|
|||
18
.github/workflows/release.yaml
vendored
18
.github/workflows/release.yaml
vendored
|
|
@ -6,13 +6,16 @@ on:
|
|||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-22.04
|
||||
name: Build smbclient
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
pkgver:
|
||||
- 4.21.4
|
||||
- 4.20.4
|
||||
- 4.19.5
|
||||
- 4.18.1
|
||||
- 4.17.7
|
||||
- 4.16.10
|
||||
|
|
@ -21,18 +24,9 @@ jobs:
|
|||
- 4.13.12
|
||||
- 4.12.15
|
||||
- 4.11.17
|
||||
- 4.10.18
|
||||
- 4.9.18
|
||||
- 4.8.12
|
||||
- 4.7.12
|
||||
- 4.6.16
|
||||
- 4.5.16
|
||||
- 4.4.16
|
||||
- 4.3.13
|
||||
- 4.2.14
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install build dependencies
|
||||
run: |
|
||||
sudo sed -Ei '/.*partner/! s/^# (deb-src .*)/\1/g' /etc/apt/sources.list
|
||||
|
|
@ -57,7 +51,7 @@ jobs:
|
|||
cd samba-${{ matrix.pkgver }}
|
||||
./configure --prefix=/usr --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 \
|
||||
--with-configdir=/etc/samba --sysconfdir=/etc/samba --localstatedir=/var --enable-fhs
|
||||
--with-configdir=/etc/samba --sysconfdir=/etc/samba --localstatedir=/var --enable-fhs --without-ldb-lmd
|
||||
- name: Build
|
||||
run: |
|
||||
cd samba-${{ matrix.pkgver }}
|
||||
|
|
|
|||
14
README.md
14
README.md
|
|
@ -1,6 +1,6 @@
|
|||
# smbclient-builder
|
||||
|
||||
Mostly static `smbclient` builds for ubuntu 20.04.
|
||||
Mostly static `smbclient` builds for ubuntu 22.04.
|
||||
|
||||
Intended to easily install different `smbclient` versions in CI
|
||||
|
||||
|
|
@ -22,6 +22,9 @@ Intended to easily install different `smbclient` versions in CI
|
|||
|
||||
The following versions of `smbclient` are currently build
|
||||
|
||||
- 4.21.4
|
||||
- 4.20.4
|
||||
- 4.19.5
|
||||
- 4.18.1
|
||||
- 4.17.7
|
||||
- 4.16.10
|
||||
|
|
@ -29,12 +32,3 @@ The following versions of `smbclient` are currently build
|
|||
- 4.14.9
|
||||
- 4.13.12
|
||||
- 4.11.17
|
||||
- 4.10.18
|
||||
- 4.9.18
|
||||
- 4.8.12
|
||||
- 4.7.12
|
||||
- 4.6.16
|
||||
- 4.5.16
|
||||
- 4.4.16
|
||||
- 4.3.13
|
||||
- 4.2.14
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue