mirror of
https://github.com/badaix/snapcast.git
synced 2025-08-06 10:09:33 +02:00
Update boost to 1.74.0
This commit is contained in:
parent
f116223a38
commit
9863e15dee
3 changed files with 9 additions and 9 deletions
6
.github/workflows/macos.yml
vendored
6
.github/workflows/macos.yml
vendored
|
@ -15,11 +15,11 @@ jobs:
|
|||
id: cache-boost
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: boost_1_73_0
|
||||
path: boost_1_74_0
|
||||
key: ${{ runner.os }}-boost
|
||||
- name: get boost
|
||||
if: steps.cache-boost.outputs.cache-hit != 'true'
|
||||
run: wget https://dl.bintray.com/boostorg/release/1.73.0/source/boost_1_73_0.tar.bz2 && tar xjf boost_1_73_0.tar.bz2
|
||||
run: wget https://dl.bintray.com/boostorg/release/1.73.0/source/boost_1_74_0.tar.bz2 && tar xjf boost_1_74_0.tar.bz2
|
||||
- name: cache ccache
|
||||
id: cache-ccache
|
||||
uses: actions/cache@v2
|
||||
|
@ -30,6 +30,6 @@ jobs:
|
|||
#- name: ccache dump config
|
||||
# run: ccache -p
|
||||
- name: cmake build
|
||||
run: cmake -S . -B build -DBOOST_ROOT=boost_1_73_0 -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_FLAGS="$CXXFLAGS -Werror -Wall -Wextra -pedantic -Wno-unused-function -I/usr/local/include"
|
||||
run: cmake -S . -B build -DBOOST_ROOT=boost_1_74_0 -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_FLAGS="$CXXFLAGS -Werror -Wall -Wextra -pedantic -Wno-unused-function -I/usr/local/include"
|
||||
- name: cmake make
|
||||
run: cmake --build build --parallel 3
|
||||
|
|
4
.github/workflows/self-hosted.yml
vendored
4
.github/workflows/self-hosted.yml
vendored
|
@ -12,11 +12,11 @@ jobs:
|
|||
run: rm -rf /home/pi/actions-runner/_work/snapcast/snap*_armhf.deb
|
||||
- uses: actions/checkout@v2
|
||||
- name: cmake build
|
||||
run: mkdir build && cd build && cmake -DBOOST_ROOT=/home/pi/Develop/boost_1_73_0 -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_FLAGS="$CXXFLAGS -Wall -Wextra -pedantic -Wno-unused-function" .. && cd ..
|
||||
run: mkdir build && cd build && cmake -DBOOST_ROOT=/home/pi/Develop/boost_1_74_0 -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_FLAGS="$CXXFLAGS -Wall -Wextra -pedantic -Wno-unused-function" .. && cd ..
|
||||
- name: cmake make
|
||||
run: cmake --build build
|
||||
- name: debian package
|
||||
run: fakeroot make -f debian/rules CMAKEFLAGS="-DBOOST_ROOT=/home/pi/Develop/boost_1_73_0 -DCMAKE_CXX_COMPILER_LAUNCHER=ccache" binary
|
||||
run: fakeroot make -f debian/rules CMAKEFLAGS="-DBOOST_ROOT=/home/pi/Develop/boost_1_74_0 -DCMAKE_CXX_COMPILER_LAUNCHER=ccache" binary
|
||||
- name: Archive artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
|
|
8
.github/workflows/ubuntu.yml
vendored
8
.github/workflows/ubuntu.yml
vendored
|
@ -16,11 +16,11 @@ jobs:
|
|||
id: cache-boost
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: boost_1_73_0
|
||||
path: boost_1_74_0
|
||||
key: ${{ runner.os }}-boost
|
||||
- name: get boost
|
||||
if: steps.cache-boost.outputs.cache-hit != 'true'
|
||||
run: wget https://dl.bintray.com/boostorg/release/1.73.0/source/boost_1_73_0.tar.bz2 && tar xjf boost_1_73_0.tar.bz2
|
||||
run: wget https://dl.bintray.com/boostorg/release/1.73.0/source/boost_1_74_0.tar.bz2 && tar xjf boost_1_74_0.tar.bz2
|
||||
- name: cache ccache
|
||||
id: cache-ccache
|
||||
uses: actions/cache@v2
|
||||
|
@ -31,11 +31,11 @@ jobs:
|
|||
#- name: ccache dump config
|
||||
# run: ccache -p
|
||||
- name: cmake build
|
||||
run: cmake -S . -B build -DBOOST_ROOT=boost_1_73_0 -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_FLAGS="$CXXFLAGS -Werror -Wall -Wextra -pedantic -Wno-unused-function"
|
||||
run: cmake -S . -B build -DBOOST_ROOT=boost_1_74_0 -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_FLAGS="$CXXFLAGS -Werror -Wall -Wextra -pedantic -Wno-unused-function"
|
||||
- name: cmake make
|
||||
run: cmake --build build --parallel 3
|
||||
- name: debian package
|
||||
run: fakeroot make -f debian/rules CMAKEFLAGS="-DBOOST_ROOT=boost_1_73_0 -DCMAKE_CXX_COMPILER_LAUNCHER=ccache" binary
|
||||
run: fakeroot make -f debian/rules CMAKEFLAGS="-DBOOST_ROOT=boost_1_74_0 -DCMAKE_CXX_COMPILER_LAUNCHER=ccache" binary
|
||||
- name: Archive artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue