-
-
Notifications
You must be signed in to change notification settings - Fork 215
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
Showing
41 changed files
with
3,515 additions
and
4 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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[codespell] | ||
skip = ./testing/**/*,./.git/**/*,./external/cxxopts/cxxopts.hpp,./external/nlohmann_json/nlohmann/json.hpp | ||
skip = ./testing/**/*,./.git/**/*,./**/*.patch,./external/cxxopts/cxxopts.hpp,./external/nlohmann_json/nlohmann/json.hpp | ||
ignore-words-list=nnumber,unknwn,dota,modle |
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,60 @@ | ||
name: 'Install Boost Dependency' | ||
description: 'Install Boost Dependency using cache when possible' | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
|
||
- name: Cache Boost | ||
id: cache-boost | ||
uses: actions/cache@v3 | ||
with: | ||
path: dependencies/boost_install | ||
key: boost-1.82.0-${{runner.os}}-0 | ||
|
||
- name: Checkout Boost | ||
if: steps.cache-boost.outputs.cache-hit != 'true' | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: boostorg/boost | ||
submodules: true | ||
fetch-depth: 0 | ||
path: './dependencies/boost' | ||
ref: boost-1.82.0 | ||
|
||
- name: Setup Boost | ||
if: steps.cache-boost.outputs.cache-hit != 'true' | ||
working-directory: ${{github.workspace}}/dependencies | ||
shell: bash | ||
run: | | ||
mkdir boost_build | ||
mkdir boost_install | ||
- name: Configure Boost | ||
if: steps.cache-boost.outputs.cache-hit != 'true' | ||
working-directory: ${{github.workspace}}/dependencies/boost | ||
shell: bash | ||
run: ./bootstrap.sh | ||
|
||
- name: Build Boost | ||
if: steps.cache-boost.outputs.cache-hit != 'true' | ||
working-directory: ${{github.workspace}}/dependencies/boost | ||
shell: bash | ||
run: > | ||
./b2 | ||
--prefix='../boost_install' | ||
--build-dir='../boost_build' | ||
variant='release' | ||
link=static | ||
runtime-link=shared | ||
--with-date_time | ||
--with-filesystem | ||
--with-program_options | ||
--with-regex | ||
--with-system | ||
install | ||
- name: Copy to install | ||
working-directory: ${{github.workspace}}/dependencies/boost_install | ||
shell: bash | ||
run: cp -r ./* ../install/ |
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
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
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
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
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
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
Oops, something went wrong.