mirror of
https://github.com/badaix/snapcast.git
synced 2025-04-28 17:57:05 +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
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- name: print environment
|
||||
run: env
|
||||
- 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
|
||||
- name: cache boost
|
||||
id: cache-boost
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: boost_${{ env.BOOST_VERSION }}
|
||||
key: boost-${{ env.BOOST_VERSION }}
|
||||
|
@ -117,14 +117,14 @@ jobs:
|
|||
runs-on: ${{ matrix.os }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- name: print environment
|
||||
run: env
|
||||
- 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
|
||||
- name: cache boost
|
||||
id: cache-boost
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: boost_${{ env.BOOST_VERSION }}
|
||||
key: boost-${{ env.BOOST_VERSION }}
|
||||
|
@ -136,7 +136,7 @@ jobs:
|
|||
tar xjf boost_${BOOST_VERSION}.tar.bz2
|
||||
- name: cache ccache
|
||||
id: cache-ccache
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
# TODO: use environment variable $HOME/.ccache
|
||||
path: /home/runner/.ccache
|
||||
|
@ -204,14 +204,14 @@ jobs:
|
|||
runs-on: ${{ matrix.os }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- name: print environment
|
||||
run: env
|
||||
- name: dependencies
|
||||
run: brew install pkgconfig libsoxr ccache expat
|
||||
- name: cache boost
|
||||
id: cache-boost
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: boost_${{ env.BOOST_VERSION }}
|
||||
key: boost-${{ env.BOOST_VERSION }}
|
||||
|
@ -223,7 +223,7 @@ jobs:
|
|||
tar xjf boost_${BOOST_VERSION}.tar.bz2
|
||||
- name: cache ccache
|
||||
id: cache-ccache
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: /Users/runner/Library/Caches/ccache
|
||||
key: ${{ runner.os }}-${{ matrix.xcode }}-ccache-${{ github.sha }}
|
||||
|
@ -261,10 +261,10 @@ jobs:
|
|||
runs-on: ${{ matrix.os }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- name: cache dependencies
|
||||
id: cache-dependencies
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
#path: ${VCPKG_INSTALLATION_ROOT}\installed
|
||||
path: c:\vcpkg\installed
|
||||
|
|
30
.github/workflows/package.yml
vendored
30
.github/workflows/package.yml
vendored
|
@ -42,7 +42,7 @@ jobs:
|
|||
env:
|
||||
DEBIAN_FRONTEND: noninteractive
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
- name: Setup environment
|
||||
run: |
|
||||
echo "PARENT_DIR=$(dirname $GITHUB_WORKSPACE)" >> $GITHUB_ENV
|
||||
|
@ -58,7 +58,7 @@ jobs:
|
|||
run: rm -rf ${{env.PARENT_DIR}}/snap*_${{ matrix.arch }}.deb
|
||||
- name: Cache boost
|
||||
id: cache-boost
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ${{env.BOOST}}
|
||||
key: ${{env.BOOST}}
|
||||
|
@ -69,7 +69,7 @@ jobs:
|
|||
tar xjf ${{env.BOOST}}.tar.bz2
|
||||
- name: cache ccache
|
||||
id: cache-ccache
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
# TODO: use environment variable $HOME/.ccache
|
||||
path: /home/runner/.ccache
|
||||
|
@ -85,7 +85,7 @@ jobs:
|
|||
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
|
||||
- name: Archive artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: snapcast_${{ matrix.arch }}-debian-${{matrix.debian}}-${{ github.sha }}
|
||||
path: ${{env.PARENT_DIR}}/snap*_${{ matrix.arch }}.deb
|
||||
|
@ -102,9 +102,9 @@ jobs:
|
|||
|
||||
# steps:
|
||||
# - name: Checkout
|
||||
# uses: actions/checkout@v3
|
||||
# uses: actions/checkout@v4
|
||||
# - name: Checkout Snapcast
|
||||
# uses: actions/checkout@v3
|
||||
# uses: actions/checkout@v4
|
||||
# with:
|
||||
# repository: badaix/snapcast
|
||||
# path: src/snapcast
|
||||
|
@ -118,7 +118,7 @@ jobs:
|
|||
# run: brew install pkgconfig libsoxr ccache expat
|
||||
# - name: Cache boost
|
||||
# id: cache-boost
|
||||
# uses: actions/cache@v3
|
||||
# uses: actions/cache@v4
|
||||
# with:
|
||||
# path: ${{env.BOOST}}
|
||||
# key: ${{ runner.os }}-boost
|
||||
|
@ -129,7 +129,7 @@ jobs:
|
|||
# tar xjf ${{env.BOOST}}.tar.bz2
|
||||
# - name: Cache ccache
|
||||
# id: cache-ccache
|
||||
# uses: actions/cache@v3
|
||||
# uses: actions/cache@v4
|
||||
# with:
|
||||
# path: /Users/runner/.ccache
|
||||
# key: ${{ runner.os }}-ccache-${{ github.sha }}
|
||||
|
@ -169,9 +169,9 @@ jobs:
|
|||
# - 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
|
||||
# - name: Checkout
|
||||
# uses: actions/checkout@v3
|
||||
# uses: actions/checkout@v4
|
||||
# - name: Checkout Snapcast
|
||||
# uses: actions/checkout@v3
|
||||
# uses: actions/checkout@v4
|
||||
# with:
|
||||
# repository: badaix/snapcast
|
||||
# path: src/snapcast
|
||||
|
@ -183,7 +183,7 @@ jobs:
|
|||
# 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
|
||||
# - name: Archive artifacts
|
||||
# uses: actions/upload-artifact@v3
|
||||
# uses: actions/upload-artifact@v4
|
||||
# with:
|
||||
# name: snapcast_${{ matrix.arch }}-fedora-${{matrix.image}}-${{ github.sha }}
|
||||
# path: ~/rpmbuild/RPMS/${{ matrix.arch }}/snap*.rpm
|
||||
|
@ -195,16 +195,16 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
- name: Checkout Snapcast
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: badaix/snapcast
|
||||
path: src/snapcast
|
||||
ref: ${{ env.VERSION }}
|
||||
- name: Cache dependencies
|
||||
id: cache-dependencies
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
#path: ${VCPKG_INSTALLATION_ROOT}\installed
|
||||
path: c:\vcpkg\installed
|
||||
|
@ -227,7 +227,7 @@ jobs:
|
|||
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\
|
||||
- name: Archive artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: snapcast_win64-${{ github.sha }}
|
||||
path: |
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
|
||||
[](https://github.com/badaix/snapcast/actions/workflows/ci.yml)
|
||||
[](https://github.com/badaix/snapcast/releases)
|
||||
[](https://github.com/badaix/snapcast/releases)
|
||||
[](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.
|
||||
|
|
Loading…
Add table
Reference in a new issue