diff --git a/.github/workflows/build-blez-image.yml b/.github/workflows/build-blez-image.yml index 44f7c30..cc0dc15 100644 --- a/.github/workflows/build-blez-image.yml +++ b/.github/workflows/build-blez-image.yml @@ -13,17 +13,6 @@ jobs: strategy: matrix: version: - - "5.55" - - "5.56" - - "5.57" - - "5.58" - - "5.59" - - "5.60" - - "5.61" - - "5.62" - - "5.63" - - "5.64" - - "5.65" - "5.66" - "5.85" steps: diff --git a/.github/workflows/build-bluez.yml b/.github/workflows/build-bluez.yml index 0be3dfd..887edb4 100644 --- a/.github/workflows/build-bluez.yml +++ b/.github/workflows/build-bluez.yml @@ -1,6 +1,10 @@ name: build-bluez -on: workflow_dispatch +on: + workflow_dispatch: + push: + tags: + - "*" jobs: build-all: @@ -12,17 +16,6 @@ jobs: - linux/arm64 - linux/arm/v7 version: - - "3.10_5.55" - - "3.10_5.56" - - "3.10_5.57" - - "3.10_5.58" - - "3.10_5.59" - - "3.10_5.60" - - "3.10_5.61" - - "3.10_5.62" - - "3.10_5.63" - - "3.10_5.64" - - "3.10_5.65" - "3.10_5.66" - "3.10_5.85" steps: @@ -34,21 +27,26 @@ jobs: uses: docker/setup-buildx-action@v2 - name: Build run: | - ./scripts/cp-build.sh ${{ matrix.platform }} ${{ matrix.version }} + BLUEZ_VERSION=$(echo "${{ matrix.version }}" | cut -d'_' -f2) + ./scripts/cp-build.sh ${{ matrix.platform }} $BLUEZ_VERSION + - name: Set artifact name + id: artifact + run: echo "name=dist-$(echo '${{ matrix.platform }}' | tr '/' '-')-${{ matrix.version }}" >> $GITHUB_OUTPUT - name: Upload artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: dist + name: ${{ steps.artifact.outputs.name }} path: dist/*.tar.gz release: runs-on: ubuntu-latest needs: build-all if: startsWith(github.ref, 'refs/tags/') steps: - - name: Download math result for job 1 - uses: actions/download-artifact@v3 + - name: Download all artifacts + uses: actions/download-artifact@v4 with: - name: dist + pattern: dist-* + merge-multiple: true - name: Release binaries uses: softprops/action-gh-release@v1 with: diff --git a/scripts/build.sh b/scripts/build.sh index 2b32187..85b3d0b 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -58,19 +58,15 @@ function build { VERSION="$1" ./bootstrap ./configure \ - --disable-a2dp \ - --disable-avrcp \ - --disable-bap \ + --disable-audio \ --disable-cups \ --disable-hid \ --disable-hog \ --disable-manpages \ - --disable-mcp \ --disable-network \ --disable-obex \ --disable-systemd \ --disable-network \ - --disable-vcp \ --enable-deprecated \ --enable-experimental \ --enable-testing \ diff --git a/scripts/install.sh b/scripts/install.sh index cdec33c..b6e71ec 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -2,7 +2,7 @@ set -euo pipefail -BLEZ_VERSION="2026-01-22" +BLEZ_VERSION="2026-01-23" DEFAULT_BLUEZ_VERSION="${BLUEZ_VERSION:-5.66}" PARENT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )