mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-02 11:46:34 +02:00
Update to boost v1.78.0
This commit is contained in:
parent
a8795bc4dd
commit
420e12e4a4
3 changed files with 11 additions and 11 deletions
6
.github/workflows/macos.yml
vendored
6
.github/workflows/macos.yml
vendored
|
@ -15,11 +15,11 @@ jobs:
|
||||||
id: cache-boost
|
id: cache-boost
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: boost_1_77_0
|
path: boost_1_78_0
|
||||||
key: ${{ runner.os }}-boost
|
key: ${{ runner.os }}-boost
|
||||||
- name: get boost
|
- name: get boost
|
||||||
if: steps.cache-boost.outputs.cache-hit != 'true'
|
if: steps.cache-boost.outputs.cache-hit != 'true'
|
||||||
run: wget https://boostorg.jfrog.io/artifactory/main/release/1.77.0/source/boost_1_77_0.tar.bz2 && tar xjf boost_1_77_0.tar.bz2
|
run: wget https://boostorg.jfrog.io/artifactory/main/release/1.78.0/source/boost_1_78_0.tar.bz2 && tar xjf boost_1_78_0.tar.bz2
|
||||||
- name: cache ccache
|
- name: cache ccache
|
||||||
id: cache-ccache
|
id: cache-ccache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
|
@ -30,6 +30,6 @@ jobs:
|
||||||
#- name: ccache dump config
|
#- name: ccache dump config
|
||||||
# run: ccache -p
|
# run: ccache -p
|
||||||
- name: cmake build
|
- name: cmake build
|
||||||
run: cmake -S . -B build -DBOOST_ROOT=boost_1_77_0 -DCMAKE_BUILD_TYPE=Release -DWERROR=ON -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DREVISION=${{ github.sha }} -DCMAKE_CXX_FLAGS="-I/usr/local/include -Wno-deprecated-declarations"
|
run: cmake -S . -B build -DBOOST_ROOT=boost_1_78_0 -DCMAKE_BUILD_TYPE=Release -DWERROR=ON -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DREVISION=${{ github.sha }} -DCMAKE_CXX_FLAGS="-I/usr/local/include -Wno-deprecated-declarations"
|
||||||
- name: cmake make
|
- name: cmake make
|
||||||
run: cmake --build build --parallel 3
|
run: cmake --build build --parallel 3
|
||||||
|
|
6
.github/workflows/self-hosted.yml
vendored
6
.github/workflows/self-hosted.yml
vendored
|
@ -12,16 +12,16 @@ jobs:
|
||||||
run: rm -rf /home/pi/actions-runner/_work/snapcast/snap*_armhf.deb
|
run: rm -rf /home/pi/actions-runner/_work/snapcast/snap*_armhf.deb
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: cmake build
|
- name: cmake build
|
||||||
run: mkdir build && cd build && cmake -DBOOST_ROOT=/home/pi/Develop/boost_1_77_0 -DCMAKE_BUILD_TYPE=Release -DWERROR=ON -DCMAKE_CXX_FLAGS="$CXXFLAGS -Wno-psabi" -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DREVISION=${{ github.sha }} .. && cd ..
|
run: mkdir build && cd build && cmake -DBOOST_ROOT=/home/pi/Develop/boost_1_78_0 -DCMAKE_BUILD_TYPE=Release -DWERROR=ON -DCMAKE_CXX_FLAGS="$CXXFLAGS -Wno-psabi" -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DREVISION=${{ github.sha }} .. && cd ..
|
||||||
- name: cmake make
|
- name: cmake make
|
||||||
run: cmake --build build -- -j 2
|
run: cmake --build build -- -j 2
|
||||||
- name: debian package
|
- name: debian package
|
||||||
run: |
|
run: |
|
||||||
fakeroot make -f debian/rules CMAKEFLAGS="-DBOOST_ROOT=/home/pi/Develop/boost_1_77_0 -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DREVISION=${{ github.sha }} -DBUILD_WITH_PULSE=OFF" binary
|
fakeroot make -f debian/rules CMAKEFLAGS="-DBOOST_ROOT=/home/pi/Develop/boost_1_78_0 -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DREVISION=${{ github.sha }} -DBUILD_WITH_PULSE=OFF" binary
|
||||||
rename 's/_armhf/_without-pulse_armhf/g' ../snapclient*_armhf.deb
|
rename 's/_armhf/_without-pulse_armhf/g' ../snapclient*_armhf.deb
|
||||||
rm ../snapserver*_armhf.deb
|
rm ../snapserver*_armhf.deb
|
||||||
fakeroot make -f debian/rules clean
|
fakeroot make -f debian/rules clean
|
||||||
fakeroot make -f debian/rules CMAKEFLAGS="-DBOOST_ROOT=/home/pi/Develop/boost_1_77_0 -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DREVISION=${{ github.sha }}" binary
|
fakeroot make -f debian/rules CMAKEFLAGS="-DBOOST_ROOT=/home/pi/Develop/boost_1_78_0 -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DREVISION=${{ github.sha }}" binary
|
||||||
- name: Archive artifacts
|
- name: Archive artifacts
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
|
|
10
.github/workflows/ubuntu.yml
vendored
10
.github/workflows/ubuntu.yml
vendored
|
@ -15,11 +15,11 @@ jobs:
|
||||||
id: cache-boost
|
id: cache-boost
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: boost_1_77_0
|
path: boost_1_78_0
|
||||||
key: ${{ runner.os }}-boost
|
key: ${{ runner.os }}-boost
|
||||||
- name: get boost
|
- name: get boost
|
||||||
if: steps.cache-boost.outputs.cache-hit != 'true'
|
if: steps.cache-boost.outputs.cache-hit != 'true'
|
||||||
run: wget https://boostorg.jfrog.io/artifactory/main/release/1.77.0/source/boost_1_77_0.tar.bz2 && tar xjf boost_1_77_0.tar.bz2
|
run: wget https://boostorg.jfrog.io/artifactory/main/release/1.78.0/source/boost_1_78_0.tar.bz2 && tar xjf boost_1_78_0.tar.bz2
|
||||||
- name: cache ccache
|
- name: cache ccache
|
||||||
id: cache-ccache
|
id: cache-ccache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
|
@ -30,16 +30,16 @@ jobs:
|
||||||
#- name: ccache dump config
|
#- name: ccache dump config
|
||||||
# run: ccache -p
|
# run: ccache -p
|
||||||
- name: cmake build
|
- name: cmake build
|
||||||
run: cmake -S . -B build -DBOOST_ROOT=boost_1_77_0 -DCMAKE_BUILD_TYPE=Release -DWERROR=ON -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DREVISION=${{ github.sha }}
|
run: cmake -S . -B build -DBOOST_ROOT=boost_1_78_0 -DCMAKE_BUILD_TYPE=Release -DWERROR=ON -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DREVISION=${{ github.sha }}
|
||||||
- name: cmake make
|
- name: cmake make
|
||||||
run: cmake --build build --parallel 3
|
run: cmake --build build --parallel 3
|
||||||
- name: debian package
|
- name: debian package
|
||||||
run: |
|
run: |
|
||||||
fakeroot make -f debian/rules CMAKEFLAGS="-DBOOST_ROOT=boost_1_77_0 -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DREVISION=${{ github.sha }} -DBUILD_WITH_PULSE=OFF" binary
|
fakeroot make -f debian/rules CMAKEFLAGS="-DBOOST_ROOT=boost_1_78_0 -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DREVISION=${{ github.sha }} -DBUILD_WITH_PULSE=OFF" binary
|
||||||
rename 's/_amd64/_without-pulse_amd64/g' ../snapclient*_amd64.deb
|
rename 's/_amd64/_without-pulse_amd64/g' ../snapclient*_amd64.deb
|
||||||
rm ../snapserver*_amd64.deb
|
rm ../snapserver*_amd64.deb
|
||||||
fakeroot make -f debian/rules clean
|
fakeroot make -f debian/rules clean
|
||||||
fakeroot make -f debian/rules CMAKEFLAGS="-DBOOST_ROOT=boost_1_77_0 -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DREVISION=${{ github.sha }}" binary
|
fakeroot make -f debian/rules CMAKEFLAGS="-DBOOST_ROOT=boost_1_78_0 -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DREVISION=${{ github.sha }}" binary
|
||||||
- name: Archive artifacts
|
- name: Archive artifacts
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Add table
Reference in a new issue