33 lines
731 B
YAML
33 lines
731 B
YAML
stages:
|
|
- test
|
|
- build
|
|
|
|
default:
|
|
tags:
|
|
- windows
|
|
|
|
test:windows-powershell:
|
|
stage: test
|
|
script:
|
|
- powershell.exe -NoProfile -ExecutionPolicy Bypass -File .\tests\Run-All.ps1
|
|
|
|
test:powershell-7:
|
|
stage: test
|
|
script:
|
|
- pwsh.exe -NoProfile -ExecutionPolicy Bypass -File .\tests\Run-All.ps1
|
|
|
|
build:executable:
|
|
stage: build
|
|
needs:
|
|
- test:windows-powershell
|
|
- test:powershell-7
|
|
script:
|
|
- powershell.exe -NoProfile -ExecutionPolicy Bypass -File .\Build-Executable.ps1 -OutputDirectory .\dist\ci -Version 0.0.1
|
|
artifacts:
|
|
name: ms-private-0.0.1
|
|
paths:
|
|
- dist/ci/ms-private-0.0.1.exe
|
|
- dist/ci/ms-private-0.0.1.exe.sha256
|
|
- dist/ci/SHA256SUMS.txt
|
|
expire_in: 30 days
|