diff --git a/.github/workflows/ci_macos.yaml b/.github/workflows/ci_macos.yaml index 3927ee694..1113b634f 100644 --- a/.github/workflows/ci_macos.yaml +++ b/.github/workflows/ci_macos.yaml @@ -70,6 +70,9 @@ jobs: tar -xf "${{ runner.temp }}/boost.tar.gz" -C "${{ github.workspace }}/.."; _exitCode="$?" fi mv "${{ github.workspace }}/.."/boost_* "${{ env.boost_path }}" + cd "${{ env.boost_path }}" + ./bootstrap.sh + ./b2 stage --stagedir=./ --with-headers - name: Install Qt uses: jurplel/install-qt-action@v4 @@ -95,7 +98,7 @@ jobs: -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_CXX_STANDARD=20 \ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \ - -DBOOST_ROOT="${{ env.boost_path }}" \ + -DBOOST_ROOT="${{ env.boost_path }}/lib/cmake" \ -Ddeprecated-functions=OFF cmake --build build sudo cmake --install build @@ -109,7 +112,7 @@ jobs: -G "Ninja" \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \ - -DBOOST_ROOT="${{ env.boost_path }}" \ + -DBOOST_ROOT="${{ env.boost_path }}/lib/cmake" \ -DTESTING=ON \ -DVERBOSE_CONFIGURE=ON \ -D${{ matrix.qbt_gui }} diff --git a/.github/workflows/ci_ubuntu.yaml b/.github/workflows/ci_ubuntu.yaml index 5643d7cce..2c15dd767 100644 --- a/.github/workflows/ci_ubuntu.yaml +++ b/.github/workflows/ci_ubuntu.yaml @@ -65,6 +65,9 @@ jobs: tar -xf "${{ runner.temp }}/boost.tar.gz" -C "${{ github.workspace }}/.."; _exitCode="$?" fi mv "${{ github.workspace }}/.."/boost_* "${{ env.boost_path }}" + cd "${{ env.boost_path }}" + ./bootstrap.sh + ./b2 stage --stagedir=./ --with-headers - name: Install Qt uses: jurplel/install-qt-action@v4 @@ -90,7 +93,7 @@ jobs: -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_CXX_STANDARD=20 \ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \ - -DBOOST_ROOT="${{ env.boost_path }}" \ + -DBOOST_ROOT="${{ env.boost_path }}/lib/cmake" \ -Ddeprecated-functions=OFF cmake --build build sudo cmake --install build @@ -112,7 +115,7 @@ jobs: -G "Ninja" \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \ - -DBOOST_ROOT="${{ env.boost_path }}" \ + -DBOOST_ROOT="${{ env.boost_path }}/lib/cmake" \ -DCMAKE_INSTALL_PREFIX="/usr" \ -DTESTING=ON \ -DVERBOSE_CONFIGURE=ON \ diff --git a/.github/workflows/ci_windows.yaml b/.github/workflows/ci_windows.yaml index 95118d51c..5be59987a 100644 --- a/.github/workflows/ci_windows.yaml +++ b/.github/workflows/ci_windows.yaml @@ -94,6 +94,9 @@ jobs: tar -xf "${{ runner.temp }}/boost.tar.gz" -C "${{ github.workspace }}/.." } move "${{ github.workspace }}/../boost_*" "${{ env.boost_path }}" + cd "${{ env.boost_path }}" + .\bootstrap.bat + .\b2.exe stage --stagedir=.\ --with-headers - name: Install Qt uses: jurplel/install-qt-action@v4 @@ -122,7 +125,7 @@ jobs: -DCMAKE_EXPORT_COMPILE_COMMANDS=ON ` -DCMAKE_INSTALL_PREFIX="${{ env.libtorrent_path }}/install" ` -DCMAKE_TOOLCHAIN_FILE="${{ env.vcpkg_path }}/scripts/buildsystems/vcpkg.cmake" ` - -DBOOST_ROOT="${{ env.boost_path }}" ` + -DBOOST_ROOT="${{ env.boost_path }}/lib/cmake" ` -DBUILD_SHARED_LIBS=OFF ` -Ddeprecated-functions=OFF ` -Dstatic_runtime=OFF ` @@ -139,7 +142,7 @@ jobs: -DCMAKE_BUILD_TYPE=RelWithDebInfo ` -DCMAKE_EXPORT_COMPILE_COMMANDS=ON ` -DCMAKE_TOOLCHAIN_FILE="${{ env.vcpkg_path }}/scripts/buildsystems/vcpkg.cmake" ` - -DBOOST_ROOT="${{ env.boost_path }}" ` + -DBOOST_ROOT="${{ env.boost_path }}/lib/cmake" ` -DLibtorrentRasterbar_DIR="${{ env.libtorrent_path }}/install/lib/cmake/LibtorrentRasterbar" ` -DMSVC_RUNTIME_DYNAMIC=ON ` -DTESTING=ON ` diff --git a/.github/workflows/coverity-scan.yaml b/.github/workflows/coverity-scan.yaml index c843ce7ee..ce970c773 100644 --- a/.github/workflows/coverity-scan.yaml +++ b/.github/workflows/coverity-scan.yaml @@ -52,6 +52,9 @@ jobs: tar -xf "${{ runner.temp }}/boost.tar.gz" -C "${{ github.workspace }}/.."; _exitCode="$?" fi mv "${{ github.workspace }}/.."/boost_* "${{ env.boost_path }}" + cd "${{ env.boost_path }}" + ./bootstrap.sh + ./b2 stage --stagedir=./ --with-headers - name: Install Qt uses: jurplel/install-qt-action@v4 @@ -74,7 +77,7 @@ jobs: -G "Ninja" \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_CXX_STANDARD=20 \ - -DBOOST_ROOT="${{ env.boost_path }}" \ + -DBOOST_ROOT="${{ env.boost_path }}/lib/cmake" \ -Ddeprecated-functions=OFF cmake --build build sudo cmake --install build @@ -98,7 +101,7 @@ jobs: -B build \ -G "Ninja" \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ - -DBOOST_ROOT="${{ env.boost_path }}" \ + -DBOOST_ROOT="${{ env.boost_path }}/lib/cmake" \ -DVERBOSE_CONFIGURE=ON \ -D${{ matrix.qbt_gui }} PATH="${{ env.coverity_path }}/bin:$PATH" \