forked from oracle/graal
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PullRequest: graal/9814
- Loading branch information
Showing
8 changed files
with
78 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
{ | ||
local common = import '../common.jsonnet', | ||
local utils = import '../common-utils.libsonnet', | ||
local linux_amd64 = common["linux-amd64"], | ||
|
||
local javadoc_publisher = { | ||
name: 'graal-publish-javadoc-' + utils.prefixed_jdk(self.jdk_version), | ||
run+: [ | ||
["cd", "./sdk"], | ||
["mx", "build"], | ||
["mx", "javadoc"], | ||
["zip", "-r", "javadoc.zip", "javadoc"], | ||
["cd", "../truffle"], | ||
["mx", "build"], | ||
["mx", "javadoc"], | ||
["zip", "-r", "javadoc.zip", "javadoc"], | ||
["cd", "../tools"], | ||
["mx", "build"], | ||
["mx", "javadoc"], | ||
["zip", "-r", "javadoc.zip", "javadoc"], | ||
["cd", "../compiler"], | ||
["mx", "build"], | ||
["mx", "javadoc", "--projects", "org.graalvm.graphio"], | ||
["cd", "src/org.graalvm.graphio/"], | ||
["zip", "-r", "../../graphio-javadoc.zip", "javadoc"], | ||
["cd", "../../.."], | ||
["set-export", "GRAAL_REPO", ["pwd"]], | ||
["cd", ".."], | ||
["git", "clone", ["mx", "urlrewrite", "https://github.com/graalvm/graalvm-website.git"]], | ||
["cd", "graalvm-website"], | ||
["rm", "-rf", "sdk/javadoc", "truffle/javadoc", "tools/javadoc", "graphio/javadoc"], | ||
["git", "status" ], | ||
["unzip", "-o", "-d", "sdk", "$GRAAL_REPO/sdk/javadoc.zip"], | ||
["unzip", "-o", "-d", "truffle", "$GRAAL_REPO/truffle/javadoc.zip"], | ||
["unzip", "-o", "-d", "tools", "$GRAAL_REPO/tools/javadoc.zip"], | ||
["unzip", "-o", "-d", "graphio", "$GRAAL_REPO/compiler/graphio-javadoc.zip"], | ||
["git", "add", "sdk/javadoc", "truffle/javadoc", "tools/javadoc", "graphio/javadoc"], | ||
["git", "config", "user.name", "Javadoc Publisher"], | ||
["git", "config", "user.email", "[email protected]"], | ||
["git", "diff", "--staged", "--quiet", "||", "git", "commit", "-m", ["echo", "Javadoc as of", ["date", "+%Y/%m/%d"]]], | ||
["git", "push", "origin", "HEAD"] | ||
], | ||
notify_groups:: ["javadoc"], | ||
timelimit : "30:00" | ||
}, | ||
|
||
local all_builds = [ | ||
common.post_merge + linux_amd64 + common.oraclejdk8 + javadoc_publisher, | ||
], | ||
// adds a "defined_in" field to all builds mentioning the location of this current file | ||
builds:: [{ defined_in: std.thisFile } + b for b in all_builds] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
{ | ||
local common = (import '../../common.jsonnet'), | ||
local common = import '../../common.jsonnet', | ||
local utils = import '../../common-utils.libsonnet', | ||
local config = import '../../repo-configuration.libsonnet', | ||
local linux_amd64 = common["linux-amd64"], | ||
|
||
local gateMathStubsListener = common.daily + linux_amd64 + common.oraclejdk8 + { | ||
name: 'daily-hotspot-mathstubs-listener', | ||
local gate_math_stubs_listener = { | ||
name: 'daily-hotspot-mathstubs-listener-' + utils.prefixed_jdk(self.jdk_version), | ||
environment+: { | ||
"HOTSPOT_PORT_SYNC_CHECK" : "true" | ||
}, | ||
|
@@ -14,12 +15,11 @@ | |
run+: [ | ||
["mx", "build"] | ||
], | ||
notify_emails: [ | ||
"[email protected]" | ||
], | ||
timelimit : "10:00", | ||
notify_groups:: ["compiler_stubs"], | ||
}, | ||
|
||
builds: [ | ||
gateMathStubsListener, | ||
common.daily + linux_amd64 + common.oraclejdk8 + gate_math_stubs_listener, | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"README": "This file contains definitions that are useful for the hocon and jsonnet CI files of the graal and graal-enterprise repositories.", | ||
"ci": { | ||
"overlay": "b6feed939cb56920c218bad4cd64e2f475eaacf1" | ||
"overlay": "32cfe3bc1cae2b79569d17017dc83ba8d494a4c9" | ||
}, | ||
"mx_version" : "HEAD" | ||
} |