-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to build this project in github action #2290
Comments
I'm not going to analyze your GitHub actions yml here - that's your project ;-) If you figure it out, we'll be happy to use your work some day in the future 😁. But I'll try to help you achieve your goal by explaining how to structure the build process and then you can implement it in a way that works within the GitHub Actions framework.
As tooling, you'll need VS2019 16.4 on the build machines. Close to a full install would be ideal. Once you get going and if you need additional help or want to tweak something a bit differently, we can try to help further. |
@vatsan-madhavan Thank you very much |
Now it says |
Why Link error? Because the cpp project should use x86 or x64 to compile. |
The simplest configuration files are as follows name: .NET Core
on: [push]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: Install Nuget
uses: nuget/setup-nuget@v1
with:
nuget-version: '5.x'
- name: Setup MSBuild.exe
uses: warrenbuckley/Setup-MSBuild@v1
- name: Build
run: .\build.cmd -pack -ci -configuration Release -prepareMachine /p:Platform=x86 See: dotnet-campus#1 Thank you @vatsan-madhavan |
I create a github action and call the build.cmd but build failed.
This is my action file https://github.com/dotnet-campus/wpf/pull/1/files
And this is the build info: https://github.com/dotnet-campus/wpf/pull/1/checks?check_run_id=338492387
Could you help me to build WPF project
The text was updated successfully, but these errors were encountered: