-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #60 from clearmatics/develop
v0.1 release
- Loading branch information
Showing
168 changed files
with
20,453 additions
and
7,974 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,43 @@ | ||
{ | ||
# Based on https://github.com/clearmatics/zeth/.clang-format | ||
|
||
# .clang-format in root of repository. To run on single file: | ||
# | ||
# $ clang-format -style=file -i <file path> | ||
# | ||
# To run on whole repo: | ||
# | ||
# $ scripts/format | ||
|
||
BasedOnStyle: llvm, | ||
|
||
Standard: C++11, | ||
IndentWidth: 4, | ||
AccessModifierOffset: -4, | ||
UseTab: Never, | ||
FixNamespaceComments: "true", | ||
IncludeBlocks: Regroup, | ||
MaxEmptyLinesToKeep: 1, | ||
BreakBeforeTernaryOperators: "true", | ||
SpaceBeforeCpp11BracedList: "false", | ||
Cpp11BracedListStyle: "true", | ||
KeepEmptyLinesAtTheStartOfBlocks: "true", | ||
AllowShortIfStatementsOnASingleLine: "false", | ||
SpaceAfterTemplateKeyword: "false", | ||
AlwaysBreakAfterReturnType: None, | ||
PenaltyReturnTypeOnItsOwnLine: 10000000, | ||
SpaceAfterCStyleCast: "false", | ||
SpaceBeforeAssignmentOperators: "true", | ||
|
||
AlignAfterOpenBracket: AlwaysBreak, | ||
AllowAllParametersOfDeclarationOnNextLine: "true", | ||
BinPackArguments: "false", | ||
BinPackParameters: "false", | ||
|
||
AlwaysBreakTemplateDeclarations: MultiLine, | ||
BreakBeforeBraces: Linux, | ||
BreakConstructorInitializers: BeforeComma, | ||
BreakInheritanceList: BeforeComma, | ||
ConstructorInitializerAllOnOneLineOrOnePerLine: "true", | ||
# AllowAllConstructorInitializersOnNextLine: "false", | ||
} |
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,37 @@ | ||
name: Clearmatics libff library | ||
|
||
on: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
build-ubuntu: | ||
|
||
runs-on: ubuntu-20.04 | ||
|
||
strategy: | ||
matrix: | ||
compiler: [g++] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: recursive | ||
- name: format-check | ||
run: | | ||
scripts/format | ||
git diff --no-ext-diff > format_errs | ||
head -n 20 format_errs | ||
[ "0" == `cat format_errs | wc -l` ] | ||
- name: install-dependencies | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install build-essential git libboost-all-dev cmake libgmp3-dev libssl-dev libprocps-dev pkg-config | ||
- name: configure | ||
env: | ||
CXX: ${{ matrix.compiler }} | ||
run: mkdir build && cd build && cmake .. | ||
- name: build | ||
run: cd build && make all profile | ||
- name: test | ||
run: cd build && CTEST_OUTPUT_ON_FAILURE=1 make check |
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,35 @@ | ||
name: libff-ci-dev-docs | ||
|
||
on: | ||
push: | ||
branches: [ develop ] | ||
|
||
jobs: | ||
build-documentation: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Checkout repository and install submodules | ||
uses: actions/checkout@v2 | ||
with: | ||
submodules: recursive | ||
- name: Install dependencies | ||
run: | | ||
sudo apt update -y | ||
sudo apt install -y build-essential git libboost-all-dev cmake libgmp3-dev libssl-dev libprocps-dev pkg-config | ||
sudo apt install -y doxygen graphviz | ||
- name: Generate documentation | ||
run: | | ||
mkdir -p build | ||
pushd build | ||
cmake -DGEN_DOC=ON .. | ||
make build_docs | ||
popd | ||
- name: GH Pages Deployment | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: ./build/docs/html/ | ||
enable_jekyll: false | ||
allow_empty_commit: false | ||
force_orphan: true | ||
publish_branch: doxy-gh-pages |
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,2 +1,4 @@ | ||
/build/ | ||
/.idea/ | ||
/.idea/ | ||
*.pyc | ||
*.sage.py |
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 was deleted.
Oops, something went wrong.
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.