Skip to content

Commit 9c1c4da

Browse files
committed
Moved compilers.json fields in line with Dockerfile.base-spack ARGs
1 parent d7fc8e7 commit 9c1c4da

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

.github/workflows/dep-image-1-start.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ jobs:
5555
compiler: ${{ fromJson(needs.generate-matrix.outputs.compilers) }}
5656
uses: access-nri/build-ci/.github/workflows/dep-image-2-build.yml@main
5757
with:
58-
compiler-name: ${{ matrix.compiler.name }}
59-
compiler-package: ${{ matrix.compiler.package }}
60-
compiler-package-version: ${{ matrix.compiler.package-version }}
61-
compiler-version: ${{ matrix.compiler.version }}
58+
compiler-name: ${{ matrix.compiler.COMPILER_NAME }}
59+
compiler-package: ${{ matrix.compiler.COMPILER_PKG_NAME }}
60+
compiler-package-version: ${{ matrix.compiler.COMPILER_PKG_VERSION }}
61+
compiler-version: ${{ matrix.compiler.COMPILER_VERSION }}
6262
spack-packages-version: ${{ inputs.spack-packages-version }}
6363
spack-config-version: ${{ inputs.spack-config-version }}
6464
models: ${{ needs.generate-matrix.outputs.models }}

config/compilers.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[
22
{
3-
"name": "intel",
4-
"package": "intel-oneapi-compilers-classic",
5-
"package-version": "2021.6.0",
6-
"version": "2021.10.0"
3+
"COMPILER_NAME": "intel",
4+
"COMPILER_VERSION": "2021.10.0",
5+
"COMPILER_PKG_NAME": "intel-oneapi-compilers-classic",
6+
"COMPILER_PKG_VERSION": "2021.6.0"
77
}
88
]

config/compilers.schema.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,20 @@
66
"items": {
77
"type": "object",
88
"properties": {
9-
"name": {
9+
"COMPILER_NAME": {
1010
"type": "string"
1111
},
12-
"package": {
12+
"COMPILER_VERSION": {
1313
"type": "string"
1414
},
15-
"package-version": {
15+
"COMPILER_PKG_NAME": {
1616
"type": "string"
1717
},
18-
"version": {
18+
"COMPILER_PKG_VERSION": {
1919
"type": "string"
2020
}
2121
},
22-
"required": [ "name", "package", "package-version", "version" ],
22+
"required": [ "COMPILER_NAME", "COMPILER_VERSION", "COMPILER_PKG_NAME", "COMPILER_PKG_VERSION" ],
2323
"additionalProperties": false
2424
}
2525
}

0 commit comments

Comments
 (0)