[KDESKTOP-688] Windows CI configuration #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Windows kDrive desktop CI | |
on: | |
pull_request: | |
types: [synchronize, review_requested, ready_for_review] | |
concurrency: | |
group: ${{ github.head_ref }} | |
cancel-in-progress: true | |
jobs: | |
build-kDrive: | |
runs-on: [ self-hosted, Windows, desktop-kdrive ] | |
steps: | |
- name: Checkout the PR | |
uses: actions/checkout@v4.1.1 | |
with: | |
submodules: recursive | |
- name: Restore extension packages | |
run : nuget restore extensions/windows/cfapi/kDriveExt.sln | |
- name: Build kDrive desktop | |
run : | | |
call "C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Auxiliary/Build/vcvars64.bat" | |
powershell ./infomaniak-build-tools/windows/build-drive.ps1 -ci | |
shell: cmd | |
- name: Clean-up generated code | |
run : powershell ./infomaniak-build-tools/windows/build-drive.ps1 -clean all |