Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/develop' into patch-9
Browse files Browse the repository at this point in the history
  • Loading branch information
grafikrobot committed May 6, 2024
2 parents da06823 + 0ab00c3 commit 2603a5a
Show file tree
Hide file tree
Showing 96 changed files with 291 additions and 200 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
runs-on: ${{matrix.os}}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true

Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
runs-on: ${{matrix.os}}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true

Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:
timeout-minutes: 20

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true

Expand Down Expand Up @@ -126,7 +126,7 @@ jobs:
runs-on: ${{matrix.os}}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true

Expand Down Expand Up @@ -155,7 +155,7 @@ jobs:
runs-on: ${{matrix.os}}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true

Expand Down Expand Up @@ -189,7 +189,7 @@ jobs:
timeout-minutes: 90

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true

Expand Down Expand Up @@ -219,7 +219,7 @@ jobs:
runs-on: ${{matrix.os}}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true

Expand Down
131 changes: 131 additions & 0 deletions .github/workflows/release-cmake.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
name: Release

on:
push:
tags:
- boost-*

jobs:
release-posix-cmake:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
path: ${{ github.ref_name }}
submodules: true

- name: Cleanup
shell: bash
run: |
find ${{ github.ref_name }} -name ".git" -prune -exec rm -rf {} +
- name: Create archives
run: |
tar -czf ${{ github.ref_name }}-cmake.tar.gz ${{ github.ref_name }}
tar -cJf ${{ github.ref_name }}-cmake.tar.xz ${{ github.ref_name }}
- uses: softprops/action-gh-release@v1
with:
files: |
${{ github.ref_name }}-cmake.tar.gz
${{ github.ref_name }}-cmake.tar.xz
release-windows-cmake:
runs-on: windows-latest

needs: release-posix-cmake

steps:
- uses: actions/checkout@v4
with:
path: ${{ github.ref_name }}
submodules: true

- name: Cleanup
shell: bash
run: |
find ${{ github.ref_name }} -name ".git" -prune -exec rm -rf {} +
- name: Create archives
shell: cmd
run: |
7z a ${{ github.ref_name }}-cmake.zip ${{ github.ref_name }}
7z a ${{ github.ref_name }}-cmake.7z ${{ github.ref_name }}
- uses: softprops/action-gh-release@v1
with:
files: |
${{ github.ref_name }}-cmake.zip
${{ github.ref_name }}-cmake.7z
release-posix-b2-nodocs:
runs-on: ubuntu-latest

needs: release-windows-cmake

steps:
- uses: actions/checkout@v4
with:
path: ${{ github.ref_name }}
submodules: true

- name: Cleanup
shell: bash
run: |
find ${{ github.ref_name }} -name ".git" -prune -exec rm -rf {} +
- name: Move headers
shell: bash
run: |
cd ${{ github.ref_name }}
cp -r libs/*/include/boost libs/numeric/*/include/boost .
rm -rf libs/*/include libs/numeric/*/include
rm -f CMakeLists.txt
- name: Create archives
run: |
tar -czf ${{ github.ref_name }}-b2-nodocs.tar.gz ${{ github.ref_name }}
tar -cJf ${{ github.ref_name }}-b2-nodocs.tar.xz ${{ github.ref_name }}
- uses: softprops/action-gh-release@v1
with:
files: |
${{ github.ref_name }}-b2-nodocs.tar.gz
${{ github.ref_name }}-b2-nodocs.tar.xz
release-windows-b2-nodocs:
runs-on: windows-latest

needs: release-posix-b2-nodocs

steps:
- uses: actions/checkout@v4
with:
path: ${{ github.ref_name }}
submodules: true

- name: Cleanup
shell: bash
run: |
find ${{ github.ref_name }} -name ".git" -prune -exec rm -rf {} +
- name: Move headers
shell: bash
run: |
cd ${{ github.ref_name }}
cp -r libs/*/include/boost libs/numeric/*/include/boost .
rm -rf libs/*/include libs/numeric/*/include
rm -f CMakeLists.txt
- name: Create archives
shell: cmd
run: |
7z a ${{ github.ref_name }}-b2-nodocs.zip ${{ github.ref_name }}
7z a ${{ github.ref_name }}-b2-nodocs.7z ${{ github.ref_name }}
- uses: softprops/action-gh-release@v1
with:
files: |
${{ github.ref_name }}-b2-nodocs.zip
${{ github.ref_name }}-b2-nodocs.7z
60 changes: 0 additions & 60 deletions .github/workflows/release.yml

This file was deleted.

10 changes: 10 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -818,3 +818,13 @@
url = ../cobalt.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "charconv"]
path = libs/charconv
url = ../charconv.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "scope"]
path = libs/scope
url = ../scope.git
fetchRecurseSubmodules = on-demand
branch = .
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR AND NOT CMAKE_BUILD_TYPE A
set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Debug" "Release" "MinSizeRel" "RelWithDebInfo")
endif()

project(Boost VERSION 1.85.0 LANGUAGES CXX)
project(Boost VERSION 1.86.0 LANGUAGES CXX)

set(BOOST_SUPERPROJECT_VERSION ${PROJECT_VERSION})
set(BOOST_SUPERPROJECT_SOURCE_DIR ${PROJECT_SOURCE_DIR})
Expand Down
3 changes: 1 addition & 2 deletions Jamroot
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,7 @@ if $(all-headers)
project /boost
: requirements <include>.

[ boostcpp.architecture ]
[ boostcpp.address-model ]
[ boostcpp.platform ]

# Disable auto-linking for all targets here, primarily because it caused
# troubles with V2.
Expand Down
Loading

0 comments on commit 2603a5a

Please sign in to comment.