From c23ebf4ff05e7aa1175f05e183adc4462bbde313 Mon Sep 17 00:00:00 2001 From: Wolfgang Thaller Date: Wed, 8 Dec 2021 22:40:19 +0100 Subject: [PATCH] add tasks for building using nix --- azure-pipelines.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 6d34bfe5bc..73da2674cd 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -61,3 +61,30 @@ jobs: testResultsFormat: 'CTest' testResultsFiles: build/Testing/**/*.xml buildPlatform: 'x86_64-macos' + +- 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 + 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 + artifact: PowerPC Applications