diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 1beaa8b9..3de72167 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -51,18 +51,18 @@ jobs: - bookworm arch: - amd64 - #- armhf - #- arm64 + - armhf + - arm64 include: - arch: "amd64" os: ubuntu-latest image_prefix: "debian:" - # - arch: "armhf" - # os: self-hosted-rpi4 - # image_prefix: "badaix/raspios-lite:" - # - arch: "arm64" - # os: self-hosted-rpi5 - # image_prefix: "badaix/raspios-lite:" + - arch: "armhf" + os: self-hosted-rpi4 + image_prefix: "badaix/raspios-lite:" + - arch: "arm64" + os: self-hosted-rpi5 + image_prefix: "badaix/raspios-lite:" runs-on: ${{ matrix.os }} name: deb (${{ matrix.arch }}, ${{ matrix.debian }}) @@ -71,9 +71,9 @@ jobs: container: image: ${{matrix.image_prefix}}${{matrix.debian}} steps: - - name: Use the value - run: | - echo ${{needs.release.outputs.tag}} + # - name: Use the value + # run: | + # echo ${{needs.release.outputs.tag}} - name: Get dependencies run: apt-get update && apt-get install -yq wget debhelper build-essential cmake git rename libatomic1 libasound2-dev libsoxr-dev libvorbisidec-dev libvorbis-dev libflac-dev libopus-dev alsa-utils libpulse-dev libavahi-client-dev avahi-daemon libexpat1-dev python3 ccache unzip env: @@ -131,13 +131,13 @@ jobs: fakeroot make -f debian/rules CMAKEFLAGS="-DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DBOOST_ROOT=$GITHUB_WORKSPACE/${{env.BOOST}} -DCMAKE_BUILD_TYPE:STRING=Release -DREVISION=${{ github.sha }} -DBUILD_WITH_JACK=OFF -DSNAPWEB_DIR:STRING=$GITHUB_WORKSPACE/snapweb" binary rm ../snapserver_*_${{ matrix.arch }}.deb rename 's/_${{ matrix.arch }}/_${{ matrix.arch }}_${{ matrix.debian }}_with-pulse/g' ../snap*_${{ matrix.arch }}.deb - - name: Test - run: ls -la ${{env.PARENT_DIR}}/snap*_*.deb - - name: Archive artifacts - uses: actions/upload-artifact@v4 - with: - name: snapcast_${{ matrix.arch }}-debian-${{matrix.debian}}-${{ github.sha }} - path: ${{env.PARENT_DIR}}/snap*_${{ matrix.arch }}.deb + # - name: Test + # run: ls -la ${{env.PARENT_DIR}}/snap*_*.deb + # - name: Archive artifacts + # uses: actions/upload-artifact@v4 + # with: + # name: snapcast_${{ matrix.arch }}-debian-${{matrix.debian}}-${{ github.sha }} + # path: ${{env.PARENT_DIR}}/snap*_${{ matrix.arch }}.deb - name: Release artifacts env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}