add windows build step, 5
This commit is contained in:
@ -97,13 +97,21 @@ build-windows-binary:
|
|||||||
- python3.13
|
- python3.13
|
||||||
rules:
|
rules:
|
||||||
- if: '$CI_COMMIT_TAG'
|
- if: '$CI_COMMIT_TAG'
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- sbom-dt-dd.exe
|
||||||
script:
|
script:
|
||||||
- |
|
- |
|
||||||
cd src
|
cd src
|
||||||
|
mv dependencytrack-client .\src
|
||||||
|
mv defectdojo-client .\src
|
||||||
& 'C:\Program Files\Python313\python.exe' -m venv venv
|
& 'C:\Program Files\Python313\python.exe' -m venv venv
|
||||||
.\venv\Scripts\pip.exe install --upgrade pip
|
.\venv\Scripts\pip.exe install --upgrade pip
|
||||||
.\venv\Scripts\pip.exe install -r requirements.txt
|
.\venv\Scripts\pip.exe install -r requirements.txt
|
||||||
|
.\venv\Scripts\pip.exe install -r dependencytrack-client\requirements.txt
|
||||||
|
.\venv\Scripts\pip.exe install -r defectdojo-client\requirements.txt
|
||||||
.\venv\Scripts\pip.exe install pyinstaller
|
.\venv\Scripts\pip.exe install pyinstaller
|
||||||
.\venv\Scripts\pyinstaller.exe --onefile sbom-dt-dd.py
|
.\venv\Scripts\pyinstaller.exe --onefile sbom-dt-dd.py
|
||||||
|
mv dist\sbom-dt-dd.exe ..
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user