Skip to content

Commit 33b5bd4

Browse files
authored
Merge branch 'main' into improve_shmem_docu
2 parents 3eb1d7c + ea795c4 commit 33b5bd4

File tree

262 files changed

+7729
-8626
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

262 files changed

+7729
-8626
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ A clear and concise description of what you expected to happen.
2020

2121
**Log files**
2222
- If possible, add any output and error messages that you got
23-
- Please upload the `config.log` file (when building with autotools)
24-
- For failing tests, please upload the `test-suite.log` file (when building with autotools)
25-
- When building with CMake please upload
23+
- Please upload the build and test logs
2624
- `CMakeCache.txt`
2725
- `CMakeFiles/CMakeError.log`
2826
- `CMakeFiles/CMakeOutput.log`
@@ -34,13 +32,13 @@ A clear and concise description of what you expected to happen.
3432
- Compiler: [e.g., gcc, icc, mpicc]
3533
- Compiler version: [e.g. the output of 'gcc --version']
3634
- MPI version (if MPI is used): [The output of 'mpirun --version' or 'mpiexec --version']
37-
35+
3836
**Estimated priority**
3937
Which of these is most applicable (remove the others):
4038

41-
"Priority: high" Should be solved as soon as possible
39+
"Priority: high" Should be solved as soon as possible
4240

43-
"Priority: medium" Should be solved within half a year
41+
"Priority: medium" Should be solved within half a year
4442

4543
"Priority: low" Should be solved eventually
4644

.github/workflows/add_release_documentation.yml

Lines changed: 0 additions & 157 deletions
This file was deleted.

.github/workflows/build_cmake_tarball.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,13 @@ env:
3030

3131

3232
on:
33-
workflow_call:
33+
workflow_call:
3434
inputs:
3535
TEST_LEVEL:
3636
required: true
37-
type: number
38-
description: 'Test level used for configuring (0 for full tests, 1 for less thorough tests, 2 for minimal tests)'
37+
type: string
38+
description: 'Test level used for configuring (T8_TEST_LEVEL_FULL, T8_TEST_LEVEL_MEDIUM, or T8_TEST_LEVEL_BASIC)'
39+
default: 'T8_TEST_LEVEL_FULL'
3940

4041
jobs:
4142
build:
@@ -46,9 +47,9 @@ jobs:
4647
timeout-minutes: 90
4748
steps:
4849
#
49-
# Setup and bootstrap
50+
# Setup
5051
#
51-
- uses: actions/checkout@v4
52+
- uses: actions/checkout@v5
5253
with:
5354
fetch-tags: true # required to get version tags
5455
fetch-depth: 0 # required to get all history, especially the version tags
@@ -65,7 +66,7 @@ jobs:
6566
run: git submodule update
6667

6768
#
68-
# T8CODE
69+
# T8CODE
6970
# with p4est and sc as internal dependencies which is needed for make dist
7071
#
7172
#
@@ -97,7 +98,7 @@ jobs:
9798
timeout-minutes: 90
9899
steps:
99100
- name: Download tarball
100-
uses: actions/download-artifact@v4
101+
uses: actions/download-artifact@v5
101102
with:
102103
name: tarballs
103104
path: tarballs
@@ -106,10 +107,9 @@ jobs:
106107
- name: update Github_env
107108
run: export TAR_DIR="$RUNNER_TEMP/`basename tarballs/*.tar.gz .tar.gz`" &&
108109
echo TAR_DIR="$TAR_DIR" >>$GITHUB_ENV
109-
110+
110111
# build config vars
111112
- name: Set test level
112-
if: ${{ inputs.TEST_LEVEL != 0 }}
113113
run: export TEST_LEVEL_FLAG="-DT8CODE_TEST_LEVEL=${{ inputs.TEST_LEVEL }}"
114114
&& echo TEST_LEVEL_FLAG="$TEST_LEVEL_FLAG" >> $GITHUB_ENV
115115
- name: build config variables
@@ -128,7 +128,7 @@ jobs:
128128
- name: build
129129
run: cd build_tar && ninja
130130
- name: install
131-
run: cd build_tar && ninja install
131+
run: cd build_tar && ninja install
132132
- name: check serial
133133
run: cd build_tar && ctest -R _serial
134134
- name: check parallel

.github/workflows/check_indentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
runs-on: ubuntu-latest
4545
timeout-minutes: 10
4646
steps:
47-
- uses: actions/checkout@v4
47+
- uses: actions/checkout@v5
4848
with:
4949
fetch-tags: true # required to get version tags
5050
fetch-depth: 0 # required to get all history, especially the version tags

.github/workflows/code_coverage.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,9 @@ on:
3939
description: 'Build type (Release/Debug)'
4040
TEST_LEVEL:
4141
required: true
42-
type: number
43-
description: 'Test level used for configuring (0 for full tests, 1 for less thorough tests, 2 for minimal tests)'
42+
type: string
43+
description: 'Test level used for configuring (T8_TEST_LEVEL_FULL, T8_TEST_LEVEL_MEDIUM, or T8_TEST_LEVEL_BASIC)'
44+
default: 'T8_TEST_LEVEL_FULL'
4445
secrets:
4546
CODE_COV:
4647
required: true
@@ -56,7 +57,7 @@ jobs:
5657
# Setup
5758
#
5859
- name: Download artifacts
59-
uses: actions/download-artifact@v4
60+
uses: actions/download-artifact@v5
6061
with:
6162
name: SC_P4EST_MPI_${{ inputs.MPI }}
6263
- name: untar artifact
@@ -87,11 +88,10 @@ jobs:
8788
#
8889
# Build config vars
8990
- name: Set test level
90-
if: ${{ inputs.TEST_LEVEL != 0 }}
9191
run: export TEST_LEVEL_FLAG="-DT8CODE_TEST_LEVEL=${{ inputs.TEST_LEVEL }}"
9292
&& echo TEST_LEVEL_FLAG="$TEST_LEVEL_FLAG" >> $GITHUB_ENV
9393
- name: build config variables
94-
run: export CONFIG_OPTIONS="${TEST_LEVEL_FLAG} -DT8CODE_CODE_COVERAGE=ON -DT8CODE_USE_SYSTEM_SC=ON -DT8CODE_USE_SYSTEM_P4EST=ON -DT8CODE_BUILD_PEDANTIC=ON -DT8CODE_BUILD_WALL=ON -DT8CODE_BUILD_WERROR=ON -DT8CODE_ENABLE_MPI=$MPI -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DSC_DIR=$SC_PATH/install/cmake -DP4EST_DIR=$P4EST_PATH/install/cmake"
94+
run: export CONFIG_OPTIONS="${TEST_LEVEL_FLAG} -DT8CODE_CODE_COVERAGE=ON -DT8CODE_USE_SYSTEM_SC=ON -DT8CODE_USE_SYSTEM_P4EST=ON -DT8CODE_BUILD_PEDANTIC=ON -DT8CODE_BUILD_WALL=ON -DT8CODE_BUILD_WERROR=ON -DT8CODE_ENABLE_MPI=$MPI -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DT8CODE_BUILD_FORTRAN_INTERFACE=ON -DSC_DIR=$SC_PATH/install/cmake -DP4EST_DIR=$P4EST_PATH/install/cmake -DT8CODE_BUILD_BENCHMARKS=OFF -DT8CODE_BUILD_DOCUMENTATION=OFF -DT8CODE_BUILD_EXAMPLES=OFF -DT8CODE_BUILD_TUTORIALS=OFF"
9595
&& echo CONFIG_OPTIONS="$CONFIG_OPTIONS" >> $GITHUB_ENV
9696
# cmake
9797
- name: echo cmake line

.github/workflows/move_card.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,9 @@ jobs:
111111
112112
evaluate_pr:
113113
runs-on: ubuntu-latest
114+
# Don't run in parallel on the same PR. Otherwise multiple issues might be created for the same PR.
115+
concurrency:
116+
group: pr-move-card-${{ github.event.pull_request.id }}
114117
outputs:
115118
NUMBER_IS_SET: ${{ steps.get_pr_issue_link.outputs.NUMBER_IS_SET }}
116119
CLEAN_ISSUE_NUMBER: ${{ steps.get_pr_issue_link.outputs.CLEAN_ISSUE_NUMBER }}

.github/workflows/quick_pr.yml

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,12 @@ jobs:
4242
outputs:
4343
ISSUE_NUMBER: ${{ steps.create_issue_and_output_number.outputs.ISSUE_NUMBER }}
4444
steps:
45-
- uses: actions/checkout@v4
45+
- uses: actions/checkout@v5
4646
with:
47-
repository: ${{ github.event.repository.full_name }}
48-
ref: ${{ github.event.pull_request.head.ref }}
4947
fetch-depth: 0
5048

5149
- name: "Set up environment"
52-
run: echo "GITHUB_TOKEN=${{ secrets.PAT }}" >> $GITHUB_ENV
50+
run: echo "GH_TOKEN=${{ secrets.PAT }}" >> $GITHUB_ENV
5351

5452
- name: "Create Issue"
5553
id: create_issue_and_output_number
@@ -69,12 +67,21 @@ jobs:
6967
# Create the new issue. Use the DEFAULT_PROJECT to directly add it to the project.
7068
# Letting GH add the Issue to the project by automatization can lead to a delay,
7169
# and the following worfkflows will try to move a card that doesn't exist yet.
72-
new_issue_url=$(gh issue create \
73-
--title "$TITLE" \
74-
--assignee "$AUTHOR" \
75-
--body "$ISSUE_BODY" \
76-
--project "${{ inputs.DEFAULT_PROJECT }}"
77-
)
70+
# Only assign the issue if the author is not a bot
71+
if [[ "$AUTHOR" == *"[bot]"* ]]; then
72+
new_issue_url=$(gh issue create \
73+
--title "$TITLE" \
74+
--body "$ISSUE_BODY" \
75+
--project "${{ inputs.DEFAULT_PROJECT }}"
76+
)
77+
else
78+
new_issue_url=$(gh issue create \
79+
--title "$TITLE" \
80+
--assignee "$AUTHOR" \
81+
--body "$ISSUE_BODY" \
82+
--project "${{ inputs.DEFAULT_PROJECT }}"
83+
)
84+
fi
7885
echo "new_issue_url=$new_issue_url"
7986
# Extract the issue number from the URL.
8087
# The URL is in the format https://github.com/orga-name/repo-name/issues/issues_number

.github/workflows/spell_check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
runs-on: ubuntu-latest
3232
steps:
3333
- name: Checkout Actions Repository
34-
uses: actions/checkout@v4
34+
uses: actions/checkout@v5
3535
- name: Check spelling
3636
uses: crate-ci/typos@master
3737
- name: check macros

.github/workflows/tests_cmake_preparation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
#
6161
# Setup
6262
#
63-
- uses: actions/checkout@v4
63+
- uses: actions/checkout@v5
6464
with:
6565
fetch-depth: 0
6666
- name: Update packages

.github/workflows/tests_cmake_sc_p4est.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
# Setup
5353
#
5454
- name: Download artifacts
55-
uses: actions/download-artifact@v4
55+
uses: actions/download-artifact@v5
5656
with:
5757
name: SC_P4EST_MPI_${{ inputs.MPI }}
5858
- name: untar artifact

0 commit comments

Comments
 (0)