Skip to content

Commit

Permalink
Update build-driver-solution.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
shamil-mubarakshin authored Dec 24, 2024
1 parent 21cba7f commit 8c4e106
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions .github/workflows/build-driver-solution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,24 +22,26 @@ jobs:
with:
repository: 'microsoft/Windows-driver-samples'
submodules: 'recursive'
path: 'Windows-driver-samples'

- name: Restore dependencies
shell: pwsh
run: |
nuget restore "$($env:GITHUB_WORKSPACE + "\usb\ufxclientsample\ufxclientsample.sln")" -Verbosity Detailed
# - name: Restore dependencies
# shell: pwsh
# run: |
# nuget restore "$($env:GITHUB_WORKSPACE + "\usb\ufxclientsample\ufxclientsample.sln")" -Verbosity Detailed

# - name: Install Nuget Packages
# run: nuget restore .\packages.config -PackagesDirectory .\packages\
- name: Install Nuget Packages
run: nuget restore .\packages.config -PackagesDirectory .\packages\

- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v2

# - name: debug
# run: |
# ls
# "$($env:GITHUB_WORKSPACE + "\usb\ufxclientsample\ufxclientsample.sln")"
# Test-Path "$($env:GITHUB_WORKSPACE + "\usb\ufxclientsample\ufxclientsample.sln")"
- name: debug
run: |
ls
"$($env:GITHUB_WORKSPACE + "\usb\ufxclientsample\ufxclientsample.sln")"
Test-Path "$($env:GITHUB_WORKSPACE + "\usb\ufxclientsample\ufxclientsample.sln")"
- name: Build solution
working-directory: usb\ufxclientsample
run: |
msbuild "$($env:GITHUB_WORKSPACE + "\usb\ufxclientsample\ufxclientsample.sln")" "/p:Configuration=Release" "/p:Platform=x64"
msbuild "ufxclientsample.sln" "/p:Configuration=Release" "/p:Platform=x64"

0 comments on commit 8c4e106

Please sign in to comment.