3030
3131
3232on :
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
4041jobs :
4142 build :
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
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#
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
0 commit comments