From e1a79adefc4ae0d2e75ae85bc1a9e966002d59df Mon Sep 17 00:00:00 2001 From: Wolfgang Thaller Date: Wed, 8 Dec 2021 23:14:39 +0100 Subject: [PATCH] use docker directly to run nix --- azure-pipelines.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index e6854cfc2a..3940ca94bf 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -65,26 +65,27 @@ jobs: - job: nix_68k pool: vmImage: 'ubuntu-20.04' - container: - image: 'nixos/nix:latest' steps: - checkout: self submodules: true - script: | - nix-build m68k.retro68.samples - - publish: result/Applications + docker run --name nix nixos/nix:latest m68k.retro68.samples + - script: | + docker cp -L nix:result - | tar x --strip-components 1 + + - publish: Applications artifact: 68K Applications - job: nix_ppc pool: vmImage: 'ubuntu-20.04' - container: - image: 'nixos/nix:latest' steps: - checkout: self submodules: true - script: | - nix-build ppc.retro68.samples - - publish: result/Applications + docker run --name nix nixos/nix:latest ppc.retro68.samples + - script: | + docker cp -L nix:result - | tar x --strip-components 1 + - publish: Applications artifact: PowerPC Applications