Skip to content

Linux build#568

Closed
SplinterGU wants to merge 0 commit intomonkeyman192:developmentfrom
SplinterGU:development
Closed

Linux build#568
SplinterGU wants to merge 0 commit intomonkeyman192:developmentfrom
SplinterGU:development

Conversation

@SplinterGU
Copy link

update to current MBINCompiler version

@monkeyman192
Copy link
Owner

You still need to update the .sh and .bat files, as well as modify the pipeline.yml file before I can run the CI

@SplinterGU
Copy link
Author

SplinterGU commented Aug 31, 2023

You still need to update the .sh and .bat files, as well as modify the pipeline.yml file before I can run the CI

But that doesn't affect your pipeline or anything; it will simply create files that you won't publish, but you'll still be able to publish as you have been doing. The Windows release will be visible, and that's it. However, those of us with Linux will be able to compile it without any issues.

@SplinterGU
Copy link
Author

Anyway, there's no problem. I can continue maintaining my repository for Linux. It's not a big change that I have to make, and I can use it without any worries. So, don't worry about the merge or the pull request.

Thanks anyway!

@monkeyman192
Copy link
Owner

But that doesn't affect your pipeline or anything; it will simply create files that you won't publish, but you'll still be able to publish as you have been doing. The Windows release will be visible, and that's it. However, those of us with Linux will be able to compile it without any issues.

This DOES affect the pipeline because in it we specify the framework (dotnet publish libMBIN-DLL -c Release -f net6.0-windows -r win-x64 -o Build/Release/net6/ /nowarn:cs0618)
This command will fail as it stands because this framework is no longer specific in the .csproj files.

I am happy to add linux build support to this, just want it done the right way :P
It's going to be annoying for you to have to constantly modify stuff every time you want to build.

@SplinterGU
Copy link
Author

But that doesn't affect your pipeline or anything; it will simply create files that you won't publish, but you'll still be able to publish as you have been doing. The Windows release will be visible, and that's it. However, those of us with Linux will be able to compile it without any issues.

This DOES affect the pipeline because in it we specify the framework (dotnet publish libMBIN-DLL -c Release -f net6.0-windows -r win-x64 -o Build/Release/net6/ /nowarn:cs0618) This command will fail as it stands because this framework is no longer specific in the .csproj files.

I am happy to add linux build support to this, just want it done the right way :P It's going to be annoying for you to have to constantly modify stuff every time you want to build.

I don't understand, my commit doesn't have net6.0-windows, it has net6.0 and net7.0... On the other hand, the csproj files do have those two...

I don't understand why It will fail... the problem is net6.0? I can remove it... I don't understand...

image

@SplinterGU
Copy link
Author

SplinterGU commented Aug 31, 2023

I compile it with the script and it works... really, I don't understand that you mean...

It's going to be annoying for you to have to constantly modify stuff every time you want to build.

nah, no problem with it... it is easy... but well...

@monkeyman192
Copy link
Owner

I ran the CI to hopefully show you what is wrong 😉

@SplinterGU
Copy link
Author

aahh, need change this...

      dotnet publish libMBIN-DLL -c Release -f net6.0-windows -r win-x64 -o Build/Release/net6/ /nowarn:cs0618
      dotnet publish MBINCompiler -c Release -f net6.0-windows -r win-x64 -o Build/Release/net6/ /nowarn:cs0618
      dotnet publish SaveFileMapping -c Release -f net6.0-windows -r win-x64 -o Build/Release/net6/ /nowarn:cs0618
      dotnet publish libMBIN-DLL -c Release -f net7.0-windows -r win-x64 -o Build/Release/net7/ /nowarn:cs0618
      dotnet publish MBINCompiler -c Release -f net7.0-windows -r win-x64 -o Build/Release/net7/ /nowarn:cs0618

remove -windows... I can do it

@SplinterGU
Copy link
Author

done! please, try again

@SplinterGU SplinterGU closed this Aug 31, 2023
@SplinterGU SplinterGU changed the title Linux build added Linux build Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants