Skip to content

Commit

Permalink
Merge pull request #77 from DVLab-NTU/develop
Browse files Browse the repository at this point in the history
馃敄 v0.7.0
  • Loading branch information
JoshuaLau0220 committed May 14, 2024
2 parents 57d35cd + b5f5531 commit 046c9c7
Show file tree
Hide file tree
Showing 497 changed files with 49,262 additions and 63,023 deletions.
1 change: 1 addition & 0 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ AccessModifierOffset: -4

PackConstructorInitializers: BinPack
# QualifierAlignment: Right # disabled because it breaks the code in some cases
DerivePointerAlignment: false
PointerAlignment: Left
ReferenceAlignment: Left
AlignConsecutiveAssignments: Consecutive
Expand Down
21 changes: 16 additions & 5 deletions .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ Checks: >
-cppcoreguidelines-avoid-magic-numbers,
-cppcoreguidelines-owning-memory,
-cppcoreguidelines-non-private-member-variables-in-classes,
performance-noexcept-*,
bugprone-assert-side-effect,
performance-*,
performance-move-const-arg,
modernize-use-auto,
misc-const-correctness,
misc-non-copyable-objects,
Expand All @@ -17,12 +19,21 @@ Checks: >
misc-uniqueptr-reset-release,
misc-unused-*,
misc-use-anonymous-namespace,
bugprone-assert-side-effect,
performance-*
readability-*
readability-*,
-readability-implicit-bool-conversion,
-readability-redundant-string-init,
-readability-qualified-auto,
-readability-function-cognitive-complexity,
-readability-else-after-return,
-readability-convert-member-functions-to-static,
-readability-uppercase-literal-suffix,
-readability-isolate-declaration,
-readability-braces-around-statements,
-readability-magic-numbers,
-readability-identifier-length,
-readability-avoid-nested-conditional-operator,
WarningsAsErrors: ""
HeaderFilterRegex: ".*"
AnalyzeTemporaryDtors: false
FormatStyle: none
CheckOptions:
- { key: readability-identifier-naming.VariableCase, value: lower_case }
Expand Down
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
build/
qsyn
16 changes: 7 additions & 9 deletions .github/workflows/clang-test-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
steps:
- name: Check out Git repository
uses: actions/checkout@v3
- name: Download llvm-clang
- name: Download llvm-clang, parallel and coreutils
run: |
brew install llvm
echo 'export PATH="/usr/local/opt/llvm/bin:$PATH"' >> /Users/runner/.bash_profile
echo 'export LDFLAGS="-L/usr/local/opt/llvm/lib"' >> /Users/runner/.bash_profile
echo 'export CPPFLAGS="-I/usr/local/opt/llvm/include"' >> /Users/runner/.bash_profile
brew install llvm parallel coreutils
echo 'export PATH="$(brew --prefix)/opt/llvm/bin:$PATH"' >> /Users/runner/.bash_profile
echo 'export LDFLAGS="-L$(brew --prefix)/opt/llvm/lib"' >> /Users/runner/.bash_profile
echo 'export CPPFLAGS="-I$(brew --prefix)/opt/llvm/include"' >> /Users/runner/.bash_profile
- name: Build qsyn
run: |
Expand All @@ -28,7 +28,5 @@ jobs:
mkdir -p build
cmake -S . -B build -DCMAKE_CXX_COMPILER=$(which clang++)
cmake --build build -j $(sysctl -n hw.logicalcpu)
## remove this comment to run tests
## currently, tests are not working on macos because of implementation of std::unordered_map (we guess)
# - name: Run test for qsyn
# run: make test
- name: Run test for qsyn
run: make test
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ qsyn*
!src/qsyn*
!src/qsyn/qsyn*

# for work-in-progress things
wip/

# vscode configuration files and folders
.vscode

Expand Down
Loading

0 comments on commit 046c9c7

Please sign in to comment.