forked from learning-process/ppc-2024-autumn
-
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.
Merge branch 'learning-process:master' into lopatin_i_count_words_fix
- Loading branch information
Showing
231 changed files
with
23,155 additions
and
48 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 |
---|---|---|
|
@@ -5,6 +5,7 @@ on: | |
pull_request: | ||
schedule: | ||
- cron: '0 12 * * *' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
ubuntu-gcc-build: | ||
|
@@ -44,9 +45,20 @@ jobs: | |
env: | ||
CC: gcc-13 | ||
CXX: g++-13 | ||
- name: Run func tests | ||
- name: Run func tests (num_proc=2) | ||
run: | | ||
export OMP_NUM_THREADS=4 | ||
export PROC_COUNT=2 | ||
source scripts/run.sh | ||
- name: Run func tests (num_proc=3) | ||
run: | | ||
export OMP_NUM_THREADS=4 | ||
export PROC_COUNT=3 | ||
source scripts/run.sh | ||
- name: Run func tests (num_proc=4) | ||
run: | | ||
export OMP_NUM_THREADS=4 | ||
export PROC_COUNT=4 | ||
source scripts/run.sh | ||
ubuntu-clang-build: | ||
runs-on: ubuntu-latest | ||
|
@@ -85,9 +97,20 @@ jobs: | |
env: | ||
CC: clang-18 | ||
CXX: clang++-18 | ||
- name: Run tests | ||
- name: Run func tests (num_proc=2) | ||
run: | | ||
export OMP_NUM_THREADS=4 | ||
export PROC_COUNT=2 | ||
source scripts/run.sh | ||
- name: Run func tests (num_proc=3) | ||
run: | | ||
export OMP_NUM_THREADS=4 | ||
export PROC_COUNT=3 | ||
source scripts/run.sh | ||
- name: Run func tests (num_proc=4) | ||
run: | | ||
export OMP_NUM_THREADS=4 | ||
export PROC_COUNT=4 | ||
source scripts/run.sh | ||
ubuntu-clang-sanitizer-build: | ||
runs-on: ubuntu-latest | ||
|
@@ -130,6 +153,7 @@ jobs: | |
run: | | ||
export OMP_NUM_THREADS=4 | ||
export ASAN_RUN=1 | ||
export PROC_COUNT=4 | ||
source scripts/run.sh | ||
macos-clang-build: | ||
runs-on: macOS-latest | ||
|
@@ -163,6 +187,7 @@ jobs: | |
- name: Run tests | ||
run: | | ||
export OMP_NUM_THREADS=4 | ||
export PROC_COUNT=2 | ||
source scripts/run.sh | ||
windows-msvc-build: | ||
runs-on: windows-latest | ||
|
@@ -249,7 +274,7 @@ jobs: | |
sudo apt-get install mpich libmpich* mpi* openmpi-bin | ||
sudo apt-get install libomp-dev | ||
sudo apt-get install valgrind | ||
sudo apt-get install gcovr | ||
sudo apt-get install gcovr lcov | ||
- name: CMake configure | ||
run: > | ||
cmake -S . -B build | ||
|
@@ -264,14 +289,26 @@ jobs: | |
- name: Run tests | ||
run: | | ||
export OMP_NUM_THREADS=4 | ||
export PROC_COUNT=4 | ||
source scripts/run.sh | ||
- name: Generate Coverage Data | ||
- name: Generate gcovr Coverage Data | ||
run: | | ||
cd build | ||
gcovr -r ../ --xml --output ../coverage.xml | ||
cat ../coverage.xml | ||
- name: Upload coverage reports to Codecov | ||
uses: codecov/[email protected] | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
token: 01474879-5a86-4c59-bd1d-6e29d3ed9550 | ||
files: coverage.xml | ||
- name: Generate lcov Coverage Data | ||
run: | | ||
cd build | ||
lcov --capture --directory . --output-file ../coverage.info | ||
lcov --remove ../coverage.info '*/3rdparty/*' '/usr/*' '*/perf_tests/*' '*/func_tests/*' --output-file ../coverage.info | ||
cd .. | ||
genhtml coverage.info --output-directory cov-report | ||
- name: Upload coverage report artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: cov-report | ||
path: 'cov-report' |
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 |
---|---|---|
|
@@ -9,8 +9,6 @@ jobs: | |
- uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
- name: Update submodules | ||
run: git submodule update --init --recursive | ||
- name: ccache | ||
uses: hendrikmuhs/[email protected] | ||
with: | ||
|
@@ -36,8 +34,6 @@ jobs: | |
- uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
- name: Update submodules | ||
run: git submodule update --init --recursive | ||
- name: ccache | ||
uses: hendrikmuhs/[email protected] | ||
with: | ||
|
@@ -53,4 +49,6 @@ jobs: | |
split_workflow: true | ||
lgtm_comment_body: "" | ||
- if: steps.review.outputs.total_comments > 0 | ||
run: exit 1 | ||
run: | | ||
echo "clang-tidy run has failed. See previous 'Run clang-tidy' stage logs" | ||
exit 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 |
---|---|---|
@@ -1,12 +1,15 @@ | ||
build | ||
out | ||
mpich | ||
cmake-build-release* | ||
cmake-build-debug* | ||
.idea/ | ||
.vs/ | ||
.vscode/ | ||
scripts/variants.csv | ||
scripts/variants.xlsx | ||
venv* | ||
sln/ | ||
CMakeSettings.json | ||
.DS_Store | ||
.cache |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.