Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
badaix committed Aug 19, 2024
1 parent 1975dc7 commit ad91f79
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }})
Expand All @@ -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:
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit ad91f79

Please sign in to comment.