Skip to content

Commit

Permalink
[ADD] : add bosst as src (no submodules)
Browse files Browse the repository at this point in the history
  • Loading branch information
aiekick committed Mar 6, 2024
1 parent a13cd7c commit 9535d15
Show file tree
Hide file tree
Showing 403 changed files with 24,455 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,3 @@
path = ImGuiFileDialog
url = https://github.com/aiekick/ImGuiFileDialog.git
branch = master
[submodule "3rdparty/boost"]
path = 3rdparty/boost
url = https://github.com/boostorg/boost.git
branch = master
16 changes: 16 additions & 0 deletions 3rdparty/boost/.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-v4
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'
96 changes: 96 additions & 0 deletions 3rdparty/boost/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
* text=auto !eol svneol=native#text/plain
*.gitattributes text svneol=native#text/plain

# Scriptish formats
*.bat text svneol=native#text/plain
*.bsh text svneol=native#text/x-beanshell
*.cgi text svneol=native#text/plain
*.cmd text svneol=native#text/plain
*.js text svneol=native#text/javascript
*.php text svneol=native#text/x-php
*.pl text svneol=native#text/x-perl
*.pm text svneol=native#text/x-perl
*.py text svneol=native#text/x-python
*.sh eol=lf svneol=LF#text/x-sh
configure eol=lf svneol=LF#text/x-sh

# Image formats
*.bmp binary svneol=unset#image/bmp
*.gif binary svneol=unset#image/gif
*.ico binary svneol=unset#image/ico
*.jpeg binary svneol=unset#image/jpeg
*.jpg binary svneol=unset#image/jpeg
*.png binary svneol=unset#image/png
*.tif binary svneol=unset#image/tiff
*.tiff binary svneol=unset#image/tiff
*.svg text svneol=native#image/svg%2Bxml

# Data formats
*.pdf binary svneol=unset#application/pdf
*.avi binary svneol=unset#video/avi
*.doc binary svneol=unset#application/msword
*.dsp text svneol=crlf#text/plain
*.dsw text svneol=crlf#text/plain
*.eps binary svneol=unset#application/postscript
*.gz binary svneol=unset#application/gzip
*.mov binary svneol=unset#video/quicktime
*.mp3 binary svneol=unset#audio/mpeg
*.ppt binary svneol=unset#application/vnd.ms-powerpoint
*.ps binary svneol=unset#application/postscript
*.psd binary svneol=unset#application/photoshop
*.rdf binary svneol=unset#text/rdf
*.rss text svneol=unset#text/xml
*.rtf binary svneol=unset#text/rtf
*.sln text svneol=native#text/plain
*.swf binary svneol=unset#application/x-shockwave-flash
*.tgz binary svneol=unset#application/gzip
*.vcproj text svneol=native#text/xml
*.vcxproj text svneol=native#text/xml
*.vsprops text svneol=native#text/xml
*.wav binary svneol=unset#audio/wav
*.xls binary svneol=unset#application/vnd.ms-excel
*.zip binary svneol=unset#application/zip

# Text formats
.htaccess text svneol=native#text/plain
*.bbk text svneol=native#text/xml
*.cmake text svneol=native#text/plain
*.css text svneol=native#text/css
*.dtd text svneol=native#text/xml
*.htm text svneol=native#text/html
*.html text svneol=native#text/html
*.ini text svneol=native#text/plain
*.log text svneol=native#text/plain
*.mak text svneol=native#text/plain
*.qbk text svneol=native#text/plain
*.rst text svneol=native#text/plain
*.sql text svneol=native#text/x-sql
*.txt text svneol=native#text/plain
*.xhtml text svneol=native#text/xhtml%2Bxml
*.xml text svneol=native#text/xml
*.xsd text svneol=native#text/xml
*.xsl text svneol=native#text/xml
*.xslt text svneol=native#text/xml
*.xul text svneol=native#text/xul
*.yml text svneol=native#text/plain
boost-no-inspect text svneol=native#text/plain
CHANGES text svneol=native#text/plain
COPYING text svneol=native#text/plain
INSTALL text svneol=native#text/plain
Jamfile text svneol=native#text/plain
Jamroot text svneol=native#text/plain
Jamfile.v2 text svneol=native#text/plain
Jamrules text svneol=native#text/plain
Makefile* text svneol=native#text/plain
README text svneol=native#text/plain
TODO text svneol=native#text/plain

# Code formats
*.c text svneol=native#text/plain
*.cpp text svneol=native#text/plain
*.h text svneol=native#text/plain
*.hpp text svneol=native#text/plain
*.ipp text svneol=native#text/plain
*.tpp text svneol=native#text/plain
*.jam text svneol=native#text/plain
*.java text svneol=native#text/plain
239 changes: 239 additions & 0 deletions 3rdparty/boost/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,239 @@
name: CI

on:
pull_request:
push:
branches:
- master
- develop
- feature/**
tags:
- '**'

jobs:
b2-posix:
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-20.04
- os: ubuntu-22.04
- os: macos-11
- os: macos-12
- os: macos-13

runs-on: ${{matrix.os}}

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

- name: Setup Boost
run: |
./bootstrap.sh
./b2 -d0 headers
- name: Build Boost
run: |
./b2 -j3 stage
- name: Install Boost
run: |
./b2 -j3 --prefix=$HOME/.local install
- name: Test Boost
run: |
cd status
../b2 -j3 quick
b2-windows:
strategy:
fail-fast: false
matrix:
include:
- os: windows-2019
- os: windows-2022

runs-on: ${{matrix.os}}

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

- name: Setup Boost
shell: cmd
run: |
cmd /c bootstrap
b2 -d0 headers
- name: Build Boost
run: |
./b2 -j3 stage
- name: Install Boost
run: |
./b2 -j3 install
- name: Test Boost
run: |
cd status
../b2 -j3 quick
cmake-install-posix:
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-20.04
- os: ubuntu-22.04
- os: macos-11
- os: macos-12
- os: macos-13

runs-on: ${{matrix.os}}
timeout-minutes: 20

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

- name: Configure Boost
run: |
mkdir __build__ && cd __build__
cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=~/.local ..
- name: Build Boost
run: |
cd __build__
cmake --build . -j 3
- name: Install Boost
run: |
cd __build__
cmake --build . -j 3 --target install
cmake-install-windows:
strategy:
fail-fast: false
matrix:
include:
- os: windows-2019
- os: windows-2022

runs-on: ${{matrix.os}}

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

- name: Configure Boost
run: |
mkdir __build__ && cd __build__
cmake -DBUILD_SHARED_LIBS=ON ..
- name: Build Boost
run: |
cd __build__
cmake --build . -j 3
- name: Install Boost
run: |
cd __build__
cmake --build . -j 3 --target install
cmake-test-posix:
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest

runs-on: ${{matrix.os}}

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

- name: Configure Boost
run: |
mkdir __build__ && cd __build__
cmake -DBUILD_TESTING=ON -DBOOST_EXCLUDE_LIBRARIES="lockfree;outcome;process;static_string;url" ..
- name: Build tests
run: |
cd __build__
cmake --build . -j 3 --target tests
- name: Run tests
run: |
cd __build__
ctest --output-on-failure --no-tests=error -j 3
cmake-test-posix-quick:
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-20.04
- os: ubuntu-22.04
- os: macos-11
- os: macos-12
- os: macos-13

runs-on: ${{matrix.os}}
timeout-minutes: 90

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

- name: Configure Boost
run: |
mkdir __build__ && cd __build__
cmake -DBUILD_TESTING=ON ..
- name: Build tests
run: |
cd __build__
cmake --build . -j 3 --target tests-quick
- name: Run tests
run: |
cd __build__
ctest --output-on-failure --no-tests=error -j 3 -R quick
cmake-test-windows-quick:
strategy:
fail-fast: false
matrix:
include:
- os: windows-2019
- os: windows-2022

runs-on: ${{matrix.os}}

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

- name: Configure Boost
run: |
mkdir __build__ && cd __build__
cmake -DBUILD_TESTING=ON ..
- name: Build tests
run: |
cd __build__
cmake --build . -j 3 --target tests-quick
- name: Run tests
run: |
cd __build__
ctest --output-on-failure --no-tests=error -j 3 -R quick -C Debug
Loading

0 comments on commit 9535d15

Please sign in to comment.