mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-20 14:39:22 +00:00
ci: another try with the environment
This commit is contained in:
parent
940400998a
commit
2fcc34c301
@ -51,12 +51,12 @@ ENV FULLDEPS_TESTING=${FULLDEPS_TESTING}
|
||||
# 3.8 is already included in the default install
|
||||
|
||||
RUN if [ "${FULLDEPS_TESTING}" = "1" ]; then \
|
||||
nix-env -iP python3-3.6.11 ; \
|
||||
nix-env --set-flag priority 8 python3-3.6.11 ; \
|
||||
nix-env -iP python3-3.7.8 ; \
|
||||
nix-env --set-flag priority 7 python3-3.7.8 ; \
|
||||
nix-env -iP python3-3.9.0a4 ; \
|
||||
nix-env --set-flag priority 6 python3-3.9.0a4 ; \
|
||||
nix-env --preserve-installed -iA nixpkgs.python36 ; \
|
||||
nix-env --set-flag priority 8 $(nix-env -q python3 | grep 'python3-3\.6\.') ; \
|
||||
nix-env --preserve-installed -iA nixpkgs.python37 ; \
|
||||
nix-env --set-flag priority 7 $(nix-env -q python3 | grep 'python3-3\.7\.') ; \
|
||||
nix-env --preserve-installed -iA nixpkgs.python39 ; \
|
||||
nix-env --set-flag priority 6 $(nix-env -q python3 | grep 'python3-3\.9\.') ; \
|
||||
fi
|
||||
|
||||
# download monero tests binary
|
||||
|
@ -12,6 +12,6 @@ environment:
|
||||
script:
|
||||
- docker pull $CONTAINER_NAME:latest || true
|
||||
- wget -nc -P ci/ http://dl-cdn.alpinelinux.org/alpine/v3.12/releases/x86_64/alpine-minirootfs-3.12.0-x86_64.tar.gz
|
||||
- docker build --cache-from $CONTAINER_NAME:latest --tag $CONTAINER_NAME:$CI_COMMIT_SHA --tag $CONTAINER_NAME:latest --build-arg FULLDEPS_TESTING=1 ci/
|
||||
- docker build --tag $CONTAINER_NAME:$CI_COMMIT_SHA --tag $CONTAINER_NAME:latest --build-arg FULLDEPS_TESTING=1 ci/
|
||||
- docker push $CONTAINER_NAME:$CI_COMMIT_SHA
|
||||
- docker push $CONTAINER_NAME:latest
|
||||
|
@ -1,5 +1,10 @@
|
||||
# the last successful build of nixos-20.09 (stable) as of 2020-10-07
|
||||
with import (builtins.fetchTarball https://github.com/NixOS/nixpkgs/archive/7badbf18c45b7490d893452beb8950d966327831.tar.gz) {};
|
||||
# the last successful build of nixos-20.09 (stable) as of 2020-10-11
|
||||
with import
|
||||
(builtins.fetchTarball {
|
||||
url = "https://github.com/NixOS/nixpkgs/archive/0b8799ecaaf0dc6b4c11583a3c96ca5b40fcfdfb.tar.gz";
|
||||
sha256 = "11m4aig6cv0zi3gbq2xn9by29cfvnsxgzf9qsvz67qr0yq29ryyz";
|
||||
})
|
||||
{ };
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "trezor-firmware-env";
|
||||
|
Loading…
Reference in New Issue
Block a user