mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-01 11:52:47 +00:00
use docker directly to run nix
This commit is contained in:
parent
bf50bb74bd
commit
e1a79adefc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user