File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 type : string
1414 default : " "
1515 description : " Path to Intel configuration file"
16+ INTEL :
17+ type : boolean
18+ default : false
19+ description : " Whether to run Intel-specific build and test steps (if false, runs GCC steps)"
20+ GCC :
21+ type : boolean
22+ default : true
23+ description : " Whether to run GCC-specific build and test steps (if false, runs Intel steps)"
1624 BUILD_SCRIPT :
1725 type : string
1826 default : " .github/build_real.sh"
4755
4856jobs :
4957 build-and-test :
50- if : matrix.CONFIG_FILE != ''
58+ if : |
59+ (matrix.TOOLCHAIN == 'gcc' && inputs.GCC) ||
60+ (matrix.TOOLCHAIN == 'intel' && inputs.INTEL)
5161 runs-on : ubuntu-24.04
5262 timeout-minutes : ${{ inputs.TIMEOUT }}
5363 strategy :
5464 matrix :
5565 include :
56- - DOCKER_TAG : u24-gcc-ompi-latest
66+ - TOOLCHAIN : gcc
67+ DOCKER_TAG : u24-gcc-ompi-latest
5768 CONFIG_FILE : ${{ inputs.GCC_CONFIG }}
58- - DOCKER_TAG : u24-intel-ompi-latest
69+ - TOOLCHAIN : intel
70+ DOCKER_TAG : u24-intel-ompi-latest
5971 CONFIG_FILE : ${{ inputs.INTEL_CONFIG }}
6072 steps :
6173 - name : Checkout repository
You can’t perform that action at this time.
0 commit comments