Skip to content

Commit 5b3e955

Browse files
[GR-47650] Fix ce-release-artifacts.json.
PullRequest: graal/15138
2 parents 9453252 + f5993bb commit 5b3e955

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

graal-common.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"README": "This file contains definitions that are useful for the jsonnet CI files of the graal and graal-enterprise repositories.",
33
"ci": {
4-
"overlay": "32dabcc2b777b4bbd934f634b3a07ad5ce4e8725"
4+
"overlay": "caeb7fc170b36ed926bef9a9b4aefe82779db376"
55
}
66
}

vm/ce-release-artifacts.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@
316316
},
317317
{
318318
"os": "windows",
319-
"arch": "amd64",
319+
"arch": "amd64"
320320
}
321321
]
322322
},
@@ -343,7 +343,7 @@
343343
},
344344
{
345345
"os": "windows",
346-
"arch": "amd64",
346+
"arch": "amd64"
347347
}
348348
]
349349
},

vm/mx.vm/mx_vm_gate.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
# questions.
2525
#
2626
# ----------------------------------------------------------------------------------------------------
27+
import json
2728
import shutil
2829

2930
import mx
@@ -448,6 +449,12 @@ def gate_body(args, tasks):
448449
if t:
449450
mx_sdk_vm.verify_graalvm_configs(suites=['vm', 'vm-enterprise'])
450451

452+
with Task('Vm: ce-release-artifacts.json', tasks, tags=['style']) as t:
453+
if t:
454+
with open(join(_suite.dir, 'ce-release-artifacts.json'), 'r') as f:
455+
# check that this file can be read as json
456+
json.load(f)
457+
451458
with Task('Vm: Basic GraalVM Tests', tasks, tags=[VmGateTasks.compiler]) as t:
452459
if t and mx_sdk_vm_impl.has_component('GraalVM compiler'):
453460
# 1. the build must be a GraalVM
@@ -691,7 +698,6 @@ def gate_svm_truffle_tck_python(tasks):
691698
def build_tests_image(image_dir, options, unit_tests=None, additional_deps=None, shared_lib=False):
692699
native_image_context, svm = graalvm_svm()
693700
with native_image_context(svm.IMAGE_ASSERTION_FLAGS) as native_image:
694-
import json
695701
import mx_compiler
696702
build_options = ['-H:+GenerateBuildArtifactsFile'] + options
697703
if shared_lib:

0 commit comments

Comments
 (0)