Nightly builds for Windows on Linux - linux

Is there a system I could implement on Linux(Debian) to have nightly builds from a github repository targeted to windows(.exe files)?
I know programs like CCNET and TeamCity but they are for windows.
Currently we use Visual Studio 2013 to build our project(We also support Code""Blocks but dont recommend it).

This is how we do it:
Run Jenkins on Linux (Ubuntu)
Run build slaves on several WinXP systems to build the code, this can even be done on your own laptop for example. Of course you need to leave it on overnight.

Related

How to use git to do version control when I edit my code in Windows but build and run my code in Linux (using pycharm)

I have a question that I edit my code using PyCharm in Windows platform, and build and run my code in Linux machine, I want to know what is the correct way to do version control using git? My current approach is
using git in Windows
build and run code in Linux
checkout different branches in Windows and upload code to Linux(and not upload binary files such as .o files and .so files)
I'm not quite comfortable with this approach so I want to know the better ways. Thank you!
and upload code to Linux
If your Linux machine is accessible through SSH (and has Git installed), a better option would be to git push your code to your Linux machine, using a:
bare repository
a post-receive hook to checkout/restore your code where you want on said Linux server.
You can see an example here.

For Tauri+Vue development, can I generate Windows exe on Ubuntu dev env?

I'm playing Tauri+Vue development on an Ubuntu box. I clone a small project from https://github.com/DominusKelvin/nota-web, it built out 2 files as below,
* /home/abc/nota-web/src-tauri/target/release/bundle/deb/nota_0.1.0_amd64.deb
* /home/abc/nota-web/src-tauri/target/release/bundle/appimage/nota_0.1.0_amd64.AppImage
Actually I want a windows exe file, is it possible to build out an exe file here? or do I have to do the development on a Windows machine?
Thanks & Regards,
Martin.
To answer your question, it's not possible yet to cross-compile a Tauri application. (Example, building a Windows artifact from a Linux machine)
The best would be to use Github Actions to build it for you.
Tauri have a pre-built action, ready to use.
You can find some examples here;
https://github.com/cloudflare/workerskv.gui/blob/master/.github/workflows/release.yml#L59
https://github.com/Levminer/authme-lite/blob/dev/.github/workflows/release-artifacts.yml#L35

Remote System Development Eclipse - Build, Debug and Run from remote Linux machine

I have the following:
1) Windows machine with Eclipse CDT (Currently Luna v4.4.1)
2) A Linux machine that has the repository with code and the Linux GCC, make etc..
I want to connect to the Linux via Remote System Explorer in Eclipse, edit, build, debug and run all from the Windows machine in Eclipse.
I have been successful in setting up the SSH connection and in the project explorer, I can access the remote repository and edit the code.
The issue I am having is building, debugging and running it.
How can I let eclipse know I want to compile it remotely? The Project -> Build functionality is blocked out when attempting for the remote repository. It only allows it for local repo's. But I already have an SSH connection.. Is there not a way for it to know that I want to use the remote GCC too?
Also, for debugging, in the Debug configuration it seems to want a local version of the build, even though I selected remote debugging.
Sorry I don't have any error logging to report as i'm just struggling on the first bit of how I go about doing the remote build in the IDE.
Maybe this is not possible?

DNU publish to linux runtime from windows OS

I want to publish using dnu to run on linux from a windows machine. This is required to make docker images, I know the usual practice is to push the source to linux docker and do "dnu restore", but that sounds a lengthy process, and completely against the cross-compat that the DNXCore50 is trying to offer.
The latest dnx runtime now includes a "runtime" for unix/darwin related packages to target the other operating systems. But how to run a publish command that targets linux or rather if there is a way to pull the linux dnx core in a windows machine using dnvm install coreclr??

Building from Eclipse in Windows on a Linux Build Server

Setup:
- Eclipse Juno running on Windows 7
- GNU toolchain located on a Linux build server
- ClearCase repository accessible from a Windows 7 machine and a Linux build server
I want to open a C++ project from Eclipse in Windows and be able to build the project on the remote Linux build server. What is the best way to accomplish this now in 2013 with the state of Eclipse development?
(There were some dated questions with partial solutions.)
You would need to make a snapshot view directly on a linux path, which is possible through samba: your Windows server would be used for the view_server.exe, but the root directory of your snapshot view would be on Linux.
That leaves you with the issue to execute the gnu toolset from Linux from your Windows session. It is discussed in this 2011 thread.
Basically add a new "Remote Builder" option for managed build projects.
Similar to the Internal Builder, but it would invoke the compile commands over SSH or
whatever protocol the user chose.
It would be a RMB (Remote Managed Build), as in "Remote building".

Resources