Skip to content

Commit

Permalink
ci: move common deps from common.hocon to common.json
Browse files Browse the repository at this point in the history
  • Loading branch information
zapster committed Feb 4, 2021
1 parent 3a0867f commit 8ce3fd7
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 26 deletions.
30 changes: 4 additions & 26 deletions common.hocon
Original file line number Diff line number Diff line change
Expand Up @@ -42,39 +42,17 @@ labsjdk-ee-15 : { downloads : { JAVA_HOME : ${jdks.labsjdk-ee-15} }}
labsjdk-ce-15Debug : { downloads : { JAVA_HOME : ${jdks.labsjdk-ce-15Debug} }}
labsjdk-ee-15Debug : { downloads : { JAVA_HOME : ${jdks.labsjdk-ee-15Debug} }}

common : ${mx} {
timelimit : "30:00"
environment : {
MX_PYTHON: "python3"
}
common : ${mx} ${deps.common} {
catch_files : [
"Graal diagnostic output saved in (?P<filename>.+\.zip)"
]
packages : {
"pip:logilab-common ": "==1.4.4"
"pip:pylint" : "==1.9.3"
"pip:ninja_syntax" : "==1.7.2"
}
}

linux : ${common} {
packages : {
git : ">=1.8.3"
mercurial : ">=2.2"
"apache/ant": ">=1.9.4"
}
}
linux : ${common} ${deps.linux}

darwin : ${common} {
environment : {
# Required to keep pylint happy on Darwin
# https://coderwall.com/p/-k_93g/mac-os-x-valueerror-unknown-locale-utf-8-in-python
LC_ALL : "en_US.UTF-8"
}
}
darwin : ${common} ${deps.darwin}

windows : ${common} {
}
windows : ${common} ${deps.windows}

linux-amd64 : ${linux} {
capabilities : [linux, amd64]
Expand Down
32 changes: 32 additions & 0 deletions common.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,39 @@
"windows-jdk11": { "packages" : { "devkit:VS2017-15.9.24+1" : "==0" }},
"windows-jdk15": { "packages" : { "devkit:VS2019-16.5.3+1" : "==0" }}
},
"deps": {
"common": {
"timelimit": "30:00",
"environment": {
"MX_PYTHON": "python3"
},
"packages": {
"pip:logilab-common ": "==1.4.4",
"pip:pylint": "==1.9.3",
"pip:ninja_syntax": "==1.7.2"
}
},

"linux": {
"packages": {
"git": ">=1.8.3",
"mercurial": ">=2.2",
"apache/ant": ">=1.9.4"
}
},
"COMMENT.darwin": [
"Required to keep pylint happy on Darwin",
"https://coderwall.com/p/-k_93g/mac-os-x-valueerror-unknown-locale-utf-8-in-python"
],
"darwin": {
"environment": {
"LC_ALL": "en_US.UTF-8"
}
},
"windows": {
}

},
"sulong": {
"deps": {
"linux": {
Expand Down

0 comments on commit 8ce3fd7

Please sign in to comment.