Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

build bot in the github, I see one nice project

<< < (22/26) > >>

ollydbg:

--- Quote from: Михаил Агарков on October 16, 2024, 11:27:22 pm ---Can this build bot work outside of GitHub (e.g. Gitea Runner, Woodpecker CI)?

--- End quote ---

Do you know if those CI systems support running msys2 environment, I think they can be used if msys2 is supported.

Grit Clef:

--- Quote from: ollydbg on October 17, 2024, 12:45:45 am ---
--- Quote from: Grit Clef on October 16, 2024, 06:19:43 am ---Now it might work; my hope.

--- End quote ---

In the latest error message from github action, I see this:


--- Code: ---g++.exe -std=gnu++11  -pipe -mthreads -fmessage-length=0 -fexceptions -DBUILDING_PLUGIN -DHAVE_W32API_H -D__WXMSW__ -DWXUSINGDLL -DcbDEBUG -DNOPCH -DwxUSE_UNICODE -DBOOST_SYSTEM_NO_DEPRECATED  -I..\..\..\include -I..\..\..\include\tinyxml -I..\..\..\sdk\wxscintilla\include -ID:/msys64/opt/wxwidgets3.2/include -ID:/msys64/opt/wxwidgets3.2/lib\gcc_dll\mswu -ID:/msys64/opt/boost_1_86_0/boost -c CParser.cpp -o ..\\..\\..\\.objs32\\plugins\\contrib\\NassiShneiderman\\CParser.o
CParser.cpp:5:10: fatal error: boost/spirit/include/classic.hpp: No such file or directory
    5 | #include <boost/spirit/include/classic.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
mingw32-make[1]: *** [NassiShneiderman_wx32.cbp.mak:108: ..\\..\\..\\.objs32\\plugins\\contrib\\NassiShneiderman\\CParser.o] Error 1
mingw32-make[1]: Leaving directory 'D:/a/winstyle-codeblocks-bins/winstyle-codeblocks-bins/codeblocks_sfmirror/src/plugins/contrib/NassiShneiderman'
mingw32-make: *** [Makefile_plugins:40: plugins_contrib_nassishneiderman_nassishneiderman_wx32] Error 2
Error: Process completed with exit code 2.
--- End code ---

You have already installed the header files from the boost library?
Maybe you need to tweak the compiler search paths of the boost, as I can see that this search path is already included.


--- Code: ---D:/msys64/opt/boost_1_86_0/
--- End code ---

So, do you have a folder named below?


--- Code: ---D:/msys64/opt/boost_1_86_0/boost/spirit/include/classic.hpp
--- End code ---

Maybe, as a workaround, you can exclude this plugin from the workspace to makefile generation.

--- End quote ---
That might be a further problem; now the cland_client still can't be built.

--- Code: ---cmd /c "cd src\resources && zip -rq9 ..\..\clangd_client.zip images && cd ..\.."
Microsoft Windows [Version 10.0.20348.2700]
(c) Microsoft Corporation. All rights reserved.

D:\a\winstyle-codeblocks-bins\winstyle-codeblocks-bins\codeblocks_sfmirror\src\plugins\contrib\clangd_client>cmd /c copy ./clangd_client.zip ../../../devel32/share/CodeBlocks/clangd_client.zip
The syntax of the command is incorrect.
mingw32-make[1]: *** [clangd_client_wx32.cbp.mak:63: after_default] Error 1

--- End code ---

I found that if you call cmd.exe inside MSYS2, there will be a strange problem; in some cases there're no errors, though. I'm not clear what made that.

ollydbg:
I think you can run the mingw32-make.exe inside the cmd.exe shell, not the msys2's shell.

MichaelAgarkov:
I made a repo in codeberg to test if the build bot can work in Woodpecker CI, just need to wait for the repo to get approved to use actions.
https://codeberg.org/MichaelAgarkov/x86-codeblocks-builds

Edit: removed the repo because they didn't respond, if it works on GitHub then it probably will work in any GitHub Actions' compatible CI/CD.

ollydbg:

--- Quote from: Михаил Агарков on October 19, 2024, 09:55:36 am ---I made a repo in codeberg to test if the build bot can work in Woodpecker CI, just need to wait for the repo to get approved to use actions.
https://codeberg.org/MichaelAgarkov/x86-codeblocks-builds

--- End quote ---

Good work.

Why the repo should "get approved" to use the actions?  :)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version