-
Notifications
You must be signed in to change notification settings - Fork 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
CircleCI config file added #7906
Conversation
167f2c9
to
d49440e
Compare
e888197
to
a2ad70b
Compare
@@ -1,3 +1,7 @@ | |||
if(NOT MSVC) | |||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") |
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.
Needed for clang
tests
sed -e "s|%PREFIX%|i686-w64-mingw32|" \ | ||
-e "s|%ROOTPATH%|/usr/i686-w64-mingw32|" \ | ||
< util/travis/toolchain_mingw.cmake.in > util/buildbot/toolchain_mingw.cmake | ||
sudo 7z x -y -o/usr mingw.7z |
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.
The config.yml
installs mingw from the repos, so either that or downloading mingw here isn't needed.
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.
Looks like the sed
commands are really important, but seems to work without installing p7zip and MinGW in this script though.
EDIT: I was wrong, it doesn't work without this MinGW installation. Looks like it works if I remove it from .circleci/config.yml
.
Can this be seen in action anywhere? As in: build status, build logs, ... |
37edb0d
to
1223630
Compare
b778717
to
a8a29ca
Compare
I certainly support the concept because this stops Lint marking builds as failed. |
@paramat you can set a exit 0 after a linter, but remember if linter is ignored the code style is useless and we don't need to use it just remove the task and re-start to check all the code style on all PR :) |
That's why I made this PR, to separate |
nerzhul ok will try that next time. |
0e3b135
to
39c54e1
Compare
if merged and works totally properly for some days drop travis, please |
We will switch to Github Actions instead |
If minetest has any stale circleci keys, you should revoke them anyway (even if not used). https://circleci.com/blog/january-4-2023-security-alert/ |
I'm making this PR because #6766 is a "Can't add", but take it as a temporary fix.
I personnally prefer TravisCI so keeping old files and compatibility may be useful if we decide to switch back to it.
But TravisCI delayed their open source projects migration from
travis-ci.org
totravis-ci.com
so I made some research: to fix this issue some open-source projects in a similar situation moved to CircleCI.The GitHub integration looks like this: travis-ci/travis-ci#5035 (comment)
Since this could be a valid option, I tried to make a config file for it.
List of the tests that currently work:
OSX free plan has to be asked directly to CircleCI though: cs@circleci.com
https://circleci.com/pricing/#faq-section-os-x