mirror of
https://github.com/badaix/snapcast.git
synced 2025-04-29 18:27:12 +02:00
Update github actions plugins
This commit is contained in:
parent
dddb1b34db
commit
6a428328aa
3 changed files with 26 additions and 25 deletions
20
.github/workflows/ci.yml
vendored
20
.github/workflows/ci.yml
vendored
|
@ -22,14 +22,14 @@ jobs:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: print environment
|
- name: print environment
|
||||||
run: env
|
run: env
|
||||||
- name: dependencies
|
- name: dependencies
|
||||||
run: sudo apt-get update && sudo apt-get install -yq libasound2-dev libsoxr-dev libvorbisidec-dev libvorbis-dev libflac-dev libopus-dev alsa-utils libpulse-dev libavahi-client-dev avahi-daemon debhelper ccache expat cppcheck
|
run: sudo apt-get update && sudo apt-get install -yq libasound2-dev libsoxr-dev libvorbisidec-dev libvorbis-dev libflac-dev libopus-dev alsa-utils libpulse-dev libavahi-client-dev avahi-daemon debhelper ccache expat cppcheck
|
||||||
- name: cache boost
|
- name: cache boost
|
||||||
id: cache-boost
|
id: cache-boost
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: boost_${{ env.BOOST_VERSION }}
|
path: boost_${{ env.BOOST_VERSION }}
|
||||||
key: boost-${{ env.BOOST_VERSION }}
|
key: boost-${{ env.BOOST_VERSION }}
|
||||||
|
@ -117,14 +117,14 @@ jobs:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: print environment
|
- name: print environment
|
||||||
run: env
|
run: env
|
||||||
- name: dependencies
|
- name: dependencies
|
||||||
run: sudo apt-get update && sudo apt-get install -yq libasound2-dev libsoxr-dev libvorbisidec-dev libvorbis-dev libflac-dev libopus-dev alsa-utils libpulse-dev libavahi-client-dev avahi-daemon debhelper ccache expat cppcheck
|
run: sudo apt-get update && sudo apt-get install -yq libasound2-dev libsoxr-dev libvorbisidec-dev libvorbis-dev libflac-dev libopus-dev alsa-utils libpulse-dev libavahi-client-dev avahi-daemon debhelper ccache expat cppcheck
|
||||||
- name: cache boost
|
- name: cache boost
|
||||||
id: cache-boost
|
id: cache-boost
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: boost_${{ env.BOOST_VERSION }}
|
path: boost_${{ env.BOOST_VERSION }}
|
||||||
key: boost-${{ env.BOOST_VERSION }}
|
key: boost-${{ env.BOOST_VERSION }}
|
||||||
|
@ -136,7 +136,7 @@ jobs:
|
||||||
tar xjf boost_${BOOST_VERSION}.tar.bz2
|
tar xjf boost_${BOOST_VERSION}.tar.bz2
|
||||||
- name: cache ccache
|
- name: cache ccache
|
||||||
id: cache-ccache
|
id: cache-ccache
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
# TODO: use environment variable $HOME/.ccache
|
# TODO: use environment variable $HOME/.ccache
|
||||||
path: /home/runner/.ccache
|
path: /home/runner/.ccache
|
||||||
|
@ -204,14 +204,14 @@ jobs:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: print environment
|
- name: print environment
|
||||||
run: env
|
run: env
|
||||||
- name: dependencies
|
- name: dependencies
|
||||||
run: brew install pkgconfig libsoxr ccache expat
|
run: brew install pkgconfig libsoxr ccache expat
|
||||||
- name: cache boost
|
- name: cache boost
|
||||||
id: cache-boost
|
id: cache-boost
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: boost_${{ env.BOOST_VERSION }}
|
path: boost_${{ env.BOOST_VERSION }}
|
||||||
key: boost-${{ env.BOOST_VERSION }}
|
key: boost-${{ env.BOOST_VERSION }}
|
||||||
|
@ -223,7 +223,7 @@ jobs:
|
||||||
tar xjf boost_${BOOST_VERSION}.tar.bz2
|
tar xjf boost_${BOOST_VERSION}.tar.bz2
|
||||||
- name: cache ccache
|
- name: cache ccache
|
||||||
id: cache-ccache
|
id: cache-ccache
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: /Users/runner/Library/Caches/ccache
|
path: /Users/runner/Library/Caches/ccache
|
||||||
key: ${{ runner.os }}-${{ matrix.xcode }}-ccache-${{ github.sha }}
|
key: ${{ runner.os }}-${{ matrix.xcode }}-ccache-${{ github.sha }}
|
||||||
|
@ -261,10 +261,10 @@ jobs:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: cache dependencies
|
- name: cache dependencies
|
||||||
id: cache-dependencies
|
id: cache-dependencies
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
#path: ${VCPKG_INSTALLATION_ROOT}\installed
|
#path: ${VCPKG_INSTALLATION_ROOT}\installed
|
||||||
path: c:\vcpkg\installed
|
path: c:\vcpkg\installed
|
||||||
|
|
30
.github/workflows/package.yml
vendored
30
.github/workflows/package.yml
vendored
|
@ -42,7 +42,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
DEBIAN_FRONTEND: noninteractive
|
DEBIAN_FRONTEND: noninteractive
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
- name: Setup environment
|
- name: Setup environment
|
||||||
run: |
|
run: |
|
||||||
echo "PARENT_DIR=$(dirname $GITHUB_WORKSPACE)" >> $GITHUB_ENV
|
echo "PARENT_DIR=$(dirname $GITHUB_WORKSPACE)" >> $GITHUB_ENV
|
||||||
|
@ -58,7 +58,7 @@ jobs:
|
||||||
run: rm -rf ${{env.PARENT_DIR}}/snap*_${{ matrix.arch }}.deb
|
run: rm -rf ${{env.PARENT_DIR}}/snap*_${{ matrix.arch }}.deb
|
||||||
- name: Cache boost
|
- name: Cache boost
|
||||||
id: cache-boost
|
id: cache-boost
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ${{env.BOOST}}
|
path: ${{env.BOOST}}
|
||||||
key: ${{env.BOOST}}
|
key: ${{env.BOOST}}
|
||||||
|
@ -69,7 +69,7 @@ jobs:
|
||||||
tar xjf ${{env.BOOST}}.tar.bz2
|
tar xjf ${{env.BOOST}}.tar.bz2
|
||||||
- name: cache ccache
|
- name: cache ccache
|
||||||
id: cache-ccache
|
id: cache-ccache
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
# TODO: use environment variable $HOME/.ccache
|
# TODO: use environment variable $HOME/.ccache
|
||||||
path: /home/runner/.ccache
|
path: /home/runner/.ccache
|
||||||
|
@ -85,7 +85,7 @@ jobs:
|
||||||
fakeroot make -f debian/rules clean
|
fakeroot make -f debian/rules clean
|
||||||
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 }}" binary
|
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 }}" binary
|
||||||
- name: Archive artifacts
|
- name: Archive artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: snapcast_${{ matrix.arch }}-debian-${{matrix.debian}}-${{ github.sha }}
|
name: snapcast_${{ matrix.arch }}-debian-${{matrix.debian}}-${{ github.sha }}
|
||||||
path: ${{env.PARENT_DIR}}/snap*_${{ matrix.arch }}.deb
|
path: ${{env.PARENT_DIR}}/snap*_${{ matrix.arch }}.deb
|
||||||
|
@ -102,9 +102,9 @@ jobs:
|
||||||
|
|
||||||
# steps:
|
# steps:
|
||||||
# - name: Checkout
|
# - name: Checkout
|
||||||
# uses: actions/checkout@v3
|
# uses: actions/checkout@v4
|
||||||
# - name: Checkout Snapcast
|
# - name: Checkout Snapcast
|
||||||
# uses: actions/checkout@v3
|
# uses: actions/checkout@v4
|
||||||
# with:
|
# with:
|
||||||
# repository: badaix/snapcast
|
# repository: badaix/snapcast
|
||||||
# path: src/snapcast
|
# path: src/snapcast
|
||||||
|
@ -118,7 +118,7 @@ jobs:
|
||||||
# run: brew install pkgconfig libsoxr ccache expat
|
# run: brew install pkgconfig libsoxr ccache expat
|
||||||
# - name: Cache boost
|
# - name: Cache boost
|
||||||
# id: cache-boost
|
# id: cache-boost
|
||||||
# uses: actions/cache@v3
|
# uses: actions/cache@v4
|
||||||
# with:
|
# with:
|
||||||
# path: ${{env.BOOST}}
|
# path: ${{env.BOOST}}
|
||||||
# key: ${{ runner.os }}-boost
|
# key: ${{ runner.os }}-boost
|
||||||
|
@ -129,7 +129,7 @@ jobs:
|
||||||
# tar xjf ${{env.BOOST}}.tar.bz2
|
# tar xjf ${{env.BOOST}}.tar.bz2
|
||||||
# - name: Cache ccache
|
# - name: Cache ccache
|
||||||
# id: cache-ccache
|
# id: cache-ccache
|
||||||
# uses: actions/cache@v3
|
# uses: actions/cache@v4
|
||||||
# with:
|
# with:
|
||||||
# path: /Users/runner/.ccache
|
# path: /Users/runner/.ccache
|
||||||
# key: ${{ runner.os }}-ccache-${{ github.sha }}
|
# key: ${{ runner.os }}-ccache-${{ github.sha }}
|
||||||
|
@ -169,9 +169,9 @@ jobs:
|
||||||
# - name: Get dependencies
|
# - name: Get dependencies
|
||||||
# run: dnf -y update && dnf -y install wget git rpm-build gcc-c++ cmake boost-devel alsa-lib-devel avahi-devel libatomic libvorbis-devel opus-devel pulseaudio-libs-devel flac-devel soxr-devel libstdc++-static expat-devel
|
# run: dnf -y update && dnf -y install wget git rpm-build gcc-c++ cmake boost-devel alsa-lib-devel avahi-devel libatomic libvorbis-devel opus-devel pulseaudio-libs-devel flac-devel soxr-devel libstdc++-static expat-devel
|
||||||
# - name: Checkout
|
# - name: Checkout
|
||||||
# uses: actions/checkout@v3
|
# uses: actions/checkout@v4
|
||||||
# - name: Checkout Snapcast
|
# - name: Checkout Snapcast
|
||||||
# uses: actions/checkout@v3
|
# uses: actions/checkout@v4
|
||||||
# with:
|
# with:
|
||||||
# repository: badaix/snapcast
|
# repository: badaix/snapcast
|
||||||
# path: src/snapcast
|
# path: src/snapcast
|
||||||
|
@ -183,7 +183,7 @@ jobs:
|
||||||
# tar -C $GITHUB_WORKSPACE/src/ -czvf ~/rpmbuild/SOURCES/snapcast.tar.gz snapcast
|
# tar -C $GITHUB_WORKSPACE/src/ -czvf ~/rpmbuild/SOURCES/snapcast.tar.gz snapcast
|
||||||
# rpmbuild --nodebuginfo --define '_reversion ${{ github.sha }}' --define '_version ${{ env.VERSION }}' -bb ~/rpmbuild/SOURCES/snapcast.spec
|
# rpmbuild --nodebuginfo --define '_reversion ${{ github.sha }}' --define '_version ${{ env.VERSION }}' -bb ~/rpmbuild/SOURCES/snapcast.spec
|
||||||
# - name: Archive artifacts
|
# - name: Archive artifacts
|
||||||
# uses: actions/upload-artifact@v3
|
# uses: actions/upload-artifact@v4
|
||||||
# with:
|
# with:
|
||||||
# name: snapcast_${{ matrix.arch }}-fedora-${{matrix.image}}-${{ github.sha }}
|
# name: snapcast_${{ matrix.arch }}-fedora-${{matrix.image}}-${{ github.sha }}
|
||||||
# path: ~/rpmbuild/RPMS/${{ matrix.arch }}/snap*.rpm
|
# path: ~/rpmbuild/RPMS/${{ matrix.arch }}/snap*.rpm
|
||||||
|
@ -195,16 +195,16 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
- name: Checkout Snapcast
|
- name: Checkout Snapcast
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: badaix/snapcast
|
repository: badaix/snapcast
|
||||||
path: src/snapcast
|
path: src/snapcast
|
||||||
ref: ${{ env.VERSION }}
|
ref: ${{ env.VERSION }}
|
||||||
- name: Cache dependencies
|
- name: Cache dependencies
|
||||||
id: cache-dependencies
|
id: cache-dependencies
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
#path: ${VCPKG_INSTALLATION_ROOT}\installed
|
#path: ${VCPKG_INSTALLATION_ROOT}\installed
|
||||||
path: c:\vcpkg\installed
|
path: c:\vcpkg\installed
|
||||||
|
@ -227,7 +227,7 @@ jobs:
|
||||||
copy ${env:VCPKG_INSTALLATION_ROOT}\installed\x64-windows\bin\soxr.dll bin\Release\
|
copy ${env:VCPKG_INSTALLATION_ROOT}\installed\x64-windows\bin\soxr.dll bin\Release\
|
||||||
copy "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Redist\MSVC\v142\vc_redist.x64.exe" bin\Release\
|
copy "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Redist\MSVC\v142\vc_redist.x64.exe" bin\Release\
|
||||||
- name: Archive artifacts
|
- name: Archive artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: snapcast_win64-${{ github.sha }}
|
name: snapcast_win64-${{ github.sha }}
|
||||||
path: |
|
path: |
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
|
|
||||||
[](https://github.com/badaix/snapcast/actions/workflows/ci.yml)
|
[](https://github.com/badaix/snapcast/actions/workflows/ci.yml)
|
||||||
[](https://github.com/badaix/snapcast/releases)
|
[](https://github.com/badaix/snapcast/releases)
|
||||||
|
[](https://github.com/badaix/snapcast/releases)
|
||||||
[](https://www.paypal.me/badaix)
|
[](https://www.paypal.me/badaix)
|
||||||
|
|
||||||
Snapcast is a multiroom client-server audio player, where all clients are time synchronized with the server to play perfectly synced audio. It's not a standalone player, but an extension that turns your existing audio player into a Sonos-like multiroom solution.
|
Snapcast is a multiroom client-server audio player, where all clients are time synchronized with the server to play perfectly synced audio. It's not a standalone player, but an extension that turns your existing audio player into a Sonos-like multiroom solution.
|
||||||
|
|
Loading…
Add table
Reference in a new issue