use official devkitA64 docker image

This commit is contained in:
Dave Murphy 2018-05-02 00:10:07 +01:00
parent 02ff4915d9
commit eb7584b0ba

View File

@ -1,22 +1,19 @@
{ {
"targets": { "targets": {
"lib": { "lib": {
"buildenv": "xenial-amd64", "buildenv": "docker:devkitpro/devkita64",
"builddeps": [
"wget", "p7zip-full", "build-essential", "git"
],
"environment": { "environment": {
"DEVKITPATH": "/project/devkitA64_a6", "DEVKITPRO": "/opt/devkitpro",
"DEVKITURL": "https://downloads.sourceforge.net/project/devkitpro/devkitA64/alpha6/devkitA64_a6-x86_64-linux.7z"
}, },
"buildcmd": [ "builddeps": ["sudo"],
"[ ! -d ${DEVKITPATH} ] && (rm -rf ${DEVKITPATH} && mkdir ${DEVKITPATH} && wget -O /tmp/devkita64.7z ${DEVKITURL} && cd ${DEVKITPATH} && 7z x -y /tmp/devkita64.7z) || /bin/true",
"DEVKITPRO=${DEVKITPATH} make -j${PARALLEL} install", "buildcmd": [
"sudo -E make -j${PARALLEL} install",
"git clone --depth 1 https://github.com/switchbrew/switch-examples", "git clone --depth 1 https://github.com/switchbrew/switch-examples",
"DEVKITPRO=${DEVKITPATH} make -C switch-examples/" "make -C switch-examples/"
] ]
}, },