Skip to content

Commit

Permalink
feat: init package
Browse files Browse the repository at this point in the history
  • Loading branch information
YukariChiba authored and Zeno-sole committed Jan 11, 2024
1 parent 233a017 commit e57738e
Show file tree
Hide file tree
Showing 49,641 changed files with 7,985,144 additions and 41 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
16 changes: 16 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
version: 2
jobs:
build:
docker:
- image: cppalliance/boost_superproject_build:20.04-v1
parallelism: 2
steps:
- checkout
- run: wget "https://raw.githubusercontent.com/boostorg/release-tools/master/ci_boost_common.py" -P ${HOME}
- run: wget "https://raw.githubusercontent.com/boostorg/release-tools/master/ci_boost_release.py" -P ${HOME}
- run: python3 ${HOME}/ci_boost_release.py checkout_post
# - run: python3 ${HOME}/ci_boost_release.py dependencies_override
- run: '[ "$CIRCLE_NODE_INDEX" != "0" ] || EOL=LF python3 ${HOME}/ci_boost_release.py test_pre'
- run: '[ "$CIRCLE_NODE_INDEX" != "1" ] || EOL=CRLF python3 ${HOME}/ci_boost_release.py test_pre'
- run: '[ "$CIRCLE_NODE_INDEX" != "0" ] || EOL=LF python3 ${HOME}/ci_boost_release.py test_override'
- run: '[ "$CIRCLE_NODE_INDEX" != "1" ] || EOL=CRLF python3 ${HOME}/ci_boost_release.py test_override'
143 changes: 143 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,143 @@
# Use, modification, and distribution are
# subject to the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#
# Copyright Rene Rivera 2015-2016.
# Copyright Peter Dimov 2017-2021.

branches:
only:
- master
- develop
- /feature\/.*/

dist: bionic

language: cpp

compiler: gcc

git:
submodules: false

env:
matrix:
- TRAVIS_EMPTY_JOB_WORKAROUND=true

matrix:
exclude:
- env: TRAVIS_EMPTY_JOB_WORKAROUND=true

include:

- env: SCRIPT=ci_boost_release MODE=check
addons:
apt:
packages:
- xsltproc

# Simple integrated status tests check.
- env: SCRIPT=ci_boost_status

# Same, but using release layout
- env: SCRIPT=ci_boost_status RELEASE=1

# Run 'quick' tests.
- env: SCRIPT=ci_boost_status TARGET=quick TOOLSET=gcc CXXSTD=03,11,14
compiler: g++

- env: SCRIPT=ci_boost_status TARGET=quick TOOLSET=clang CXXSTD=03,11,14
compiler: clang++

# Build Boost
- env: SCRIPT=ci_boost_build TOOLSET=gcc
compiler: g++

# Build Boost with release layout
- env: SCRIPT=ci_boost_build TOOLSET=gcc RELEASE=1
compiler: g++

# Build Boost with CMake
- env: CMAKE_BUILD=1
dist: xenial
compiler: g++

before_script: true
before_install: true
after_success: true
after_failure: true
after_script: true

addons:
apt:
packages:
- libzstd-dev

install:
- git submodule update --init --jobs 3

script:
- mkdir __build && cd __build
- cmake -DBOOST_INSTALL_LAYOUT=tagged -DBUILD_SHARED_LIBS=ON ..
- cmake --build .

# Install Boost with CMake
- env: CMAKE_INSTALL=1
compiler: g++

before_script: true
before_install: true
after_success: true
after_failure: true
after_script: true

install:
- pip install --user cmake
- git submodule update --init --jobs 3

script:
- mkdir __build && cd __build
- cmake -DBOOST_INSTALL_LAYOUT=tagged -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=~/.local ..
- cmake --build .
- cmake --build . --target install

# Test Boost with CMake
- env: CMAKE_TEST=1
dist: bionic
compiler: g++

before_script: true
before_install: true
after_success: true
after_failure: true
after_script: true

addons:
apt:
packages:
- liblzma-dev
- libzstd-dev

install:
- git submodule update --init --jobs 3

script:
- mkdir __build && cd __build
- cmake -DBUILD_TESTING=ON ..
- cmake --build . -j 3
- cmake --build . --target tests -j 3 -- -k
- ctest --output-on-failure -j 3 -R quick

before_install:
# Fetch the scripts to do the actual building/testing.
- git submodule update --init --jobs 3
- |
wget "https://raw.githubusercontent.com/boostorg/release-tools/develop/ci_boost_common.py" -P ..
wget "https://raw.githubusercontent.com/boostorg/release-tools/develop/${SCRIPT}.py" -P ..
install: python "${TRAVIS_BUILD_DIR}/../${SCRIPT}.py" install
before_script: python "${TRAVIS_BUILD_DIR}/../${SCRIPT}.py" before_script
script: python "${TRAVIS_BUILD_DIR}/../${SCRIPT}.py" script
after_success: python "${TRAVIS_BUILD_DIR}/../${SCRIPT}.py" after_success
after_failure: python "${TRAVIS_BUILD_DIR}/../${SCRIPT}.py" after_failure
after_script: python "${TRAVIS_BUILD_DIR}/../${SCRIPT}.py" after_script
20 changes: 20 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright 2019, 2021 Peter Dimov
# Distributed under the Boost Software License, Version 1.0.
# See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt

cmake_minimum_required(VERSION 3.5...3.16)

# The default build type must be set before project()
if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR AND NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
set(CMAKE_BUILD_TYPE Release CACHE STRING "Build type" FORCE)
set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Debug" "Release" "MinSizeRel" "RelWithDebInfo")
endif()

project(Boost VERSION 1.83.0 LANGUAGES CXX)

set(BOOST_SUPERPROJECT_VERSION ${PROJECT_VERSION})
set(BOOST_SUPERPROJECT_SOURCE_DIR ${PROJECT_SOURCE_DIR})

list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/tools/cmake/include)

include(BoostRoot)
8 changes: 8 additions & 0 deletions INSTALL
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
See ./index.html for information about this release. The "Getting Started"
section is a useful starting place.

---------------------------
Copyright Beman Dawes, 2008

Distributed under the Boost Software License, Version 1.0.
See ./LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt
Loading

0 comments on commit e57738e

Please sign in to comment.