From 08baa1ab702b473d088a1fa341a6983a7227828e Mon Sep 17 00:00:00 2001 From: Wolfgang Thaller Date: Thu, 28 Dec 2023 20:40:19 +0100 Subject: [PATCH] use macos-latest and ubuntu-latest for nix builds --- azure-pipelines.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 682c4b7e31..897058e1f0 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -93,7 +93,7 @@ jobs: TARGET: carbon maxParallel: 2 pool: - vmImage: 'ubuntu-22.04' + vmImage: 'ubuntu-latest' steps: - script: | curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix \ @@ -133,7 +133,7 @@ jobs: TARGET: carbon maxParallel: 2 pool: - vmImage: 'macOS-11' + vmImage: 'macOS-latest' steps: - script: | curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix \ @@ -151,8 +151,6 @@ jobs: nix develop .#${TARGET} --profile dev-profile -c true nix build .#samples-${TARGET} --out-link CompiledSamples displayName: Build - - publish: CompiledSamples - artifact: Samples ($(TARGET)) - script: | . /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh export CACHIX_AUTH_TOKEN=$(CACHIX_AUTH_TOKEN) @@ -160,6 +158,3 @@ jobs: cachix push autc04 CompiledSamples displayName: Push to Cachix condition: and(succeeded(), ne(variables['CACHIX_AUTH_TOKEN'], '')) - - #export NIX_EXTRA_CONF="trusted-users = root runner" - #. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh