-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit f73fa13
Showing
36 changed files
with
2,171 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: '' | ||
labels: bug | ||
assignees: '' | ||
|
||
--- | ||
|
||
## The problem | ||
<!--Please be civil. This is an environment for collaboration.--> | ||
|
||
### Steps to Reproduce | ||
|
||
```bash | ||
# Your steps go here | ||
mkdir build | ||
cd build | ||
cmake .. <options> -DCMAKE_BUILD_TYPE=Release | ||
``` | ||
|
||
### Output | ||
|
||
<details> | ||
|
||
```console | ||
# The output | ||
``` | ||
</details> | ||
|
||
## Platform | ||
<!-- Mark the platforms where the bug happens --> | ||
|
||
- ( ) *linux* | ||
- ( ) *windows* | ||
- ( ) *macos* | ||
- ( ) *other:* ___________ | ||
|
||
### Environment Details | ||
- OS: | ||
- OS Version: | ||
- Compiler: | ||
- Compiler version: | ||
|
||
## Proposed solution | ||
|
||
## Alternatives I've considered | ||
|
||
### Additional context | ||
<!--optional--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: Q&A ❔ | ||
url: https://github.com/alandefreitas/FetchBoostContent/discussions/new?category_id=31250560 | ||
about: Please ask and answer questions here. Let's find out what's going on first. | ||
- name: Small Ideas 💡 | ||
url: https://github.com/alandefreitas/FetchBoostContent/discussions/new?category_id=31250561 | ||
about: Please discuss informal enhancement proposals here before creating an issue. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
name: Documentation | ||
about: Something is missing from the docs | ||
title: '' | ||
labels: documentation | ||
assignees: '' | ||
--- | ||
|
||
## The problem | ||
<!--Please be civil. This is an environment for collaboration.--> | ||
|
||
## Proposed solution | ||
|
||
## Alternatives I've considered | ||
|
||
## Additional context | ||
<!--optional--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
name: Feature Request | ||
about: For formal improvement proposals. For discussing new ideas, please use the "Small Ideas 💡" link below. | ||
title: '' | ||
labels: enhancement | ||
assignees: '' | ||
--- | ||
|
||
## The problem | ||
<!--Please be civil. This is an environment for collaboration.--> | ||
|
||
## Proposed solution | ||
|
||
## Alternatives I've considered | ||
|
||
## Additional context | ||
<!--optional--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
name: Build | ||
|
||
# Only recompile if source files have been changed | ||
on: | ||
push: | ||
paths: | ||
- '**.c' | ||
- '**.cpp' | ||
- '**.h' | ||
- '**.hpp' | ||
- '**.ipp' | ||
- '**.cmake' | ||
- '**/CMakeLists.txt' | ||
- '.github/workflows/build.yml' | ||
pull_request: | ||
paths: | ||
- '**.c' | ||
- '**.cpp' | ||
- '**.h' | ||
- '**.hpp' | ||
- '**.ipp' | ||
- '**.cmake' | ||
- '**/CMakeLists.txt' | ||
- '.github/workflows/build.yml' | ||
|
||
# Define a group for each git reference. Only a single workflow for the group will run at a time. | ||
concurrency: | ||
group: ${{format('{0}:{1}', github.repository, github.ref)}} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
Build: | ||
strategy: | ||
# Cancels all in-progress jobs if any job fails | ||
fail-fast: true | ||
matrix: | ||
config: | ||
- { | ||
name: "Windows-MSVC/2019/Static/X64/Release", | ||
os: windows-2019, | ||
config: Release, | ||
cmake_extra_args: -G "Visual Studio 16 2019" -A x64 -DCMAKE_CXX_FLAGS="/O2", | ||
sudocmd: "", | ||
artifact_name: "Windows x64", | ||
cores: 2, | ||
build_single_header: "OFF", | ||
} | ||
- { | ||
name: "Ubuntu/20.04/Static/X64/Release", | ||
os: ubuntu-20.04, | ||
config: Release, | ||
cmake_extra_args: "-DCMAKE_C_COMPILER=/usr/bin/gcc-10 -DCMAKE_CXX_COMPILER=/usr/bin/g++-10 -DCMAKE_CXX_FLAGS=\"-O2\"", | ||
sudocmd: "sudo", | ||
artifact_name: "Linux", | ||
cores: 2, | ||
build_single_header: "ON", | ||
} | ||
- { | ||
name: "MacOSX/10.15/Static/X64/Release", | ||
os: macos-10.15, | ||
config: Release, | ||
cmake_extra_args: "-DCMAKE_CXX_FLAGS=\"-O2\"", | ||
sudocmd: "sudo", | ||
artifact_name: "MacOSX", | ||
cores: 4, | ||
build_single_header: "OFF", | ||
} | ||
|
||
timeout-minutes: 120 | ||
name: ${{ matrix.config.name }} | ||
runs-on: ${{ matrix.config.os }} | ||
container: ${{matrix.config.container}} | ||
|
||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v2 | ||
- name: Create Build Dir | ||
run: mkdir build | ||
- name: Configure | ||
working-directory: ./build | ||
run: | | ||
cmake .. ${{ matrix.config.cmake_extra_args }} -D CMAKE_BUILD_TYPE=${{ matrix.config.config }} -D CMAKE_DISABLE_FIND_PACKAGE_Boost=ON -D FETCH_BOOST_CONTENT_VERBOSE=2 | ||
- name: Build | ||
working-directory: ./build | ||
run: cmake --build . --parallel ${{ matrix.config.cores }} --config ${{ matrix.config.config }} | ||
- name: Archive Script as is | ||
if: ${{ matrix.config.build_single_header == 'ON' }} | ||
uses: kittaakos/upload-artifact-as-is@v0 | ||
with: | ||
path: cmake/FetchBoostContent.cmake |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Publish Docs | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
generateDOC: | ||
name: Publish Docs | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Update Contributors | ||
uses: akhilmhdh/contributors-readme-action@v2.3 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
image_size: 100 | ||
columns_per_row: 6 | ||
readme_path: docs/acknowledgments.md | ||
continue-on-error: true | ||
- name: Setup Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.x | ||
- name: Install Mkdocs Material | ||
run: pip install mkdocs-material | ||
- name: Install Macros for Mkdocs | ||
run: pip install mkdocs-macros-plugin | ||
- name: Deploy mkdocs to gh-pages branch | ||
run: mkdocs gh-deploy --force |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
# Build directories | ||
build | ||
cmake-build-* | ||
cmake-build-debug | ||
cmake-build-release | ||
cmake-build-debug-gcc | ||
cmake-build-release-gcc | ||
cmake-build-debug-msvc | ||
cmake-build-release-msvc | ||
cmake-build-debug-* | ||
cmake-build-release-* | ||
build*/ | ||
build/ | ||
out | ||
|
||
# Local dependencies build | ||
cpp_modules | ||
|
||
# IDE settings | ||
.idea | ||
.vs | ||
.vscode/ | ||
/.vs | ||
codealike.json | ||
|
||
# CMake | ||
CMakeLists.txt.user | ||
CMakeSettings.json | ||
CMakeUserPresets.json | ||
cmake/open-cpp-coverage.cmake | ||
cmake-build-*/ | ||
prefix/ | ||
/CMakeSettings.json | ||
|
||
# Gh | ||
gh-md-toc | ||
|
||
# Hidden files | ||
.DS_Store | ||
|
||
# Prerequisites | ||
*.d | ||
|
||
# Compiled Object files | ||
*.slo | ||
*.lo | ||
*.o | ||
*.obj | ||
|
||
# Precompiled Headers | ||
*.gch | ||
*.pch | ||
|
||
# Compiled Dynamic libraries | ||
*.so | ||
*.dylib | ||
*.dll | ||
|
||
# Fortran module files | ||
*.mod | ||
*.smod | ||
|
||
# Compiled Static libraries | ||
*.lai | ||
*.la | ||
*.a | ||
*.lib | ||
|
||
# Executables | ||
*.exe | ||
*.out | ||
*.app |
Oops, something went wrong.