-
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.
- increase tolerance to work on gcc - bench job comparison to main - clean up build and tests
- Loading branch information
1 parent
e4a69fe
commit 07088e2
Showing
20 changed files
with
842 additions
and
740 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,20 @@ | ||
BasedOnStyle: LLVM | ||
IndentWidth: 2 | ||
UseTab: Never | ||
AllowShortBlocksOnASingleLine: Always | ||
AllowShortIfStatementsOnASingleLine: Always | ||
AllowShortLambdasOnASingleLine: All | ||
AllowShortLoopsOnASingleLine: false | ||
BreakBeforeBraces: Attach | ||
InsertBraces: true | ||
ColumnLimit: 100 | ||
|
||
IncludeCategories: | ||
- Regex: '^<' | ||
Priority: 4 | ||
- Regex: '^<(gmock|gtest)/' | ||
Priority: 3 | ||
- Regex: '^"fftw-cpp/' | ||
Priority: 1 | ||
- Regex: '.*' | ||
Priority: 2 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: CI Lint | ||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: [main] | ||
permissions: | ||
contents: read | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | ||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0 | ||
- name: install | ||
run: sudo apt update && sudo apt install clang-format-15 | ||
- name: lint | ||
run: | | ||
./format.sh 1 |
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,39 @@ | ||
name: CI Unit tests | ||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: [main] | ||
permissions: | ||
contents: read | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | ||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0 | ||
- name: install | ||
run: | | ||
sudo apt update | ||
sudo apt install build-essential ninja-build cmake | ||
- name: fftw-download # TODO use fftw-cpp for download | ||
run: | | ||
wget https://www.fftw.org/fftw-3.3.10.tar.gz | ||
tar -xf fftw-3.3.10.tar.gz | ||
- name: configure-fftw | ||
working-directory: ./fftw-3.3.10 | ||
run: | | ||
./configure --enable-threads --enable-avx2 --enable-avx512 | ||
make | ||
sudo make install | ||
- name: build | ||
run: | | ||
mkdir cmake-build-relwithdebinfo | ||
cd cmake-build-relwithdebinfo | ||
cmake ../cpp -G Ninja -D CMAKE_BUILD_TYPE=RelWithDebInfo -D ENABLE_CILK=OFF | ||
ninja | ||
- name: test | ||
run: ctest --verbose | ||
working-directory: ./cmake-build-relwithdebinfo |
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 |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
**/*.log | ||
*.jld2 | ||
build | ||
cmake-build-* | ||
.vscode | ||
.DS_Store | ||
cachegrind.out.* | ||
|
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.