From 7d0f435bef324ea2e02b5b0870188cca21e8f84c Mon Sep 17 00:00:00 2001 From: calebboyd Date: Wed, 3 Jul 2019 12:42:53 -0500 Subject: [PATCH] chore: pipeline troubleshooting --- azure-pipelines.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index be83ce8..4d857ef 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -50,11 +50,19 @@ jobs: - script: choco install visualcpp-build-tools --version 14.0.25420.1 -fy && npm config set msvs_version 2015 condition: contains(variables['Agent.JobName'], 'windows_2015') displayName: Install Windows build dependencies - - script: choco install nasm -fy - displayName: Install Windows Assembler (NASM) - condition: contains(variables['Agent.JobName'], 'windows') - script: npm install && npm run ci:build displayName: Build Nexe env: GITHUB_TOKEN: $(PersonalGithubToken) NEXE_VERBOSE: $(NEXE_VERBOSE) + condition: not(contains(variables['Agent.JobName'], 'windows')) + - powershell: | + iex (new-object net.webclient).downloadstring('https://get.scoop.sh') + scoop install nasm + npm install + npm run ci:build + displayName: Build Nexe (Windows) + condition: contains(variables['Agent.JobName'], 'windows') + env: + GITHUB_TOKEN: $(PersonalGithubToken) + NEXE_VERBOSE: $(NEXE_VERBOSE)