diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 7e426b7..3279f9f 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -58,8 +58,7 @@ jobs: msbuild_args: /3G condition: not(contains(variables['Agent.JobName'], 'windows')) - powershell: | - iex (new-object net.webclient).downloadstring('https://get.scoop.sh') - scoop install nasm + choco install nasm npm install npm run ci:build displayName: Build Nexe (Windows) @@ -67,3 +66,8 @@ jobs: env: GITHUB_TOKEN: $(PersonalGithubToken) NEXE_VERBOSE: $(NEXE_VERBOSE) + - script: npm run test:integration + displayName: Test built artefact + env: + NEXE_VERBOSE: $(NEXE_VERBOSE) + BUILD: '' diff --git a/package.json b/package.json index d0729ec..f2f8dbc 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "scripts": { "ci:build": "ts-node tasks/build", "test": "mocha", - "test:integration": "node index.js --build -i test/integration/index.js -o integration-tests --verbose -r test/integration -r node_modules/ && npm run test:integration:run", + "test:integration": "node index.js --target 14.15.3 -i test/integration/index.js -o integration-tests --verbose -r test/integration -r node_modules/ && npm run test:integration:run", "test:integration:run": "run-script-os", "test:integration:run:win32": "integration-tests.exe", "test:integration:run:default": "./integration-tests",