-
Notifications
You must be signed in to change notification settings - Fork 15
Create windows-cmake-compile.yml #8
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
base: main
Are you sure you want to change the base?
Create windows-cmake-compile.yml #8
Conversation
Ryanf55
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good. Can you save the executable as part of the build so windows users can download it?
|
|
||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| uses: actions/checkout@v2 | |
| uses: actions/checkout@v4 |
| choco install -y make gcc gcc-c++ qt5-win64-vs2017 | ||
|
|
||
| - name: Setup CMake | ||
| uses: actions/setup-cmake@v1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| uses: actions/setup-cmake@v1 | |
| uses: actions/setup-cmake@v2 |
| mkdir build | ||
| cd build | ||
| cmake .. | ||
| cmake --build . | ||
| cmake --install . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| mkdir build | |
| cd build | |
| cmake .. | |
| cmake --build . | |
| cmake --install . | |
| cmake -B build | |
| cmake --build build | |
| cmake --install build |
That's a good question. I think I've manually attached the binaries on the Releases page, so there's not an urge to do it. Our releases are very sparse right now. I'll try that when I find some time. |
|
I tried the pro move of using Ubuntu and a cross compiler to get the executable, but found that getting a aysroot created with the QT dependencies too hard. Ill try on my work laptop later. |
No description provided.