From 94ca28a85f93aa12514859fd9307ced4eed7a24e Mon Sep 17 00:00:00 2001 From: Marek Wolan Date: Mon, 3 Jul 2023 12:37:08 +0000 Subject: [PATCH] Add windows build option --- .azure/azure-ci-build-pipeline.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.azure/azure-ci-build-pipeline.yaml b/.azure/azure-ci-build-pipeline.yaml index a93aa131..91c113a7 100644 --- a/.azure/azure-ci-build-pipeline.yaml +++ b/.azure/azure-ci-build-pipeline.yaml @@ -55,8 +55,11 @@ steps: displayName: 'Build PrimAITE' - script: | +- ${{ if eq( variables['Agent.OS'], 'Linux') }}: PRIMAITE_WHEEL=$(ls ./dist/primaite*.whl) python -m pip install $PRIMAITE_WHEEL[dev] +- ${{ elseif eq( variable['Agent.OS'], 'Windows_NT') }}: + forfiles /p dist\ /m *.whl /c "cmd /c python -m pip install @file" displayName: 'Install PrimAITE' - script: |