mirror of
https://github.com/wiiu-env/WiiUPluginLoaderBackend.git
synced 2024-11-18 18:59:19 +01:00
Remove docker image caching, use devkitpro/dekitarm image from docker hub instead of an own installation
This commit is contained in:
parent
6d8de35973
commit
8eaf9cc026
22
.travis.yml
22
.travis.yml
@ -1,24 +1,10 @@
|
|||||||
sudo: required
|
sudo: required
|
||||||
|
branches:
|
||||||
before_cache:
|
only:
|
||||||
# Save tagged docker images see https://github.com/travis-ci/travis-ci/issues/5358#issuecomment-248915326
|
- master
|
||||||
- >
|
|
||||||
mkdir -p $HOME/docker && docker images -a --filter='dangling=false' --format '{{.Repository}}:{{.Tag}} {{.ID}}'
|
|
||||||
| grep 'wups-loader-builder'
|
|
||||||
| xargs -n 2 -t sh -c 'test -e $HOME/docker/$1.tar.gz || docker save $0 | gzip -2 > $HOME/docker/$1.tar.gz'
|
|
||||||
|
|
||||||
cache:
|
|
||||||
bundler: true
|
|
||||||
directories:
|
|
||||||
- $HOME/docker
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- docker
|
- docker
|
||||||
|
|
||||||
before_install:
|
|
||||||
# Load cached docker images
|
|
||||||
- if [[ -d $HOME/docker ]]; then ls $HOME/docker/*.tar.gz | xargs -I {file} sh -c "zcat {file} | docker load"; fi
|
|
||||||
|
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
packages:
|
packages:
|
||||||
@ -55,5 +41,3 @@ deploy:
|
|||||||
file: WiiUPluginLoader_$versiontag.zip
|
file: WiiUPluginLoader_$versiontag.zip
|
||||||
on:
|
on:
|
||||||
repo: Maschell/WiiUPluginLoader
|
repo: Maschell/WiiUPluginLoader
|
||||||
tags: false
|
|
||||||
all_branches: true
|
|
@ -4,8 +4,8 @@ FROM wups/core:latest
|
|||||||
RUN rm -rf $DEVKITPRO/portlibs
|
RUN rm -rf $DEVKITPRO/portlibs
|
||||||
|
|
||||||
# Install devkitARM. Needed to build mocha.
|
# Install devkitARM. Needed to build mocha.
|
||||||
RUN yes | sudo dkp-pacman -Syu devkitARM --needed
|
|
||||||
ENV DEVKITARM=${DEVKITPRO}/devkitARM
|
ENV DEVKITARM=${DEVKITPRO}/devkitARM
|
||||||
|
COPY --from=devkitpro/devkitarm $DEVKITARM $DEVKITARM
|
||||||
|
|
||||||
# Get dependencies
|
# Get dependencies
|
||||||
COPY --from=wiiulegacy/dynamic_libs:0.1 /artifacts $DEVKITPRO/portlibs
|
COPY --from=wiiulegacy/dynamic_libs:0.1 /artifacts $DEVKITPRO/portlibs
|
||||||
|
Loading…
Reference in New Issue
Block a user