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)