summaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
2025-02-22Set C++11 as default C++ standardFedja Beader7-43/+42
Autoconf manual states that CXXFLAGS is a user variable and should not be overriden, so I did not use AX_APPEND_COMPILE_FLAGS for this. Thus, there are not checks if the compiler supports it, but also the builder can override this flag by passing another flag that overrides it on the command line. Okay, this is now way too theoretical. Indeed, the override happens with ./configure 'CXXFLAGS=-std=c++17' (both flags in final command line) Do note: - The standard has not explicitly set for some builds (thus compiler default was used) - The default on my own box is C++17 - I'm setting C++11 as that's required by my previous change. Upgrade to C++17 is deferred to until it becomes required. - The use of CPPFLAGS could be reviewed... they may be used incorrectly (instead of CXXFLAGS).
2025-02-12Fix erroneous call in find that resulted in cpplint processing only *.cc filesFedja Beader1-10/+14
https://git.themanaworld.org/mana/plus/-/jobs/183682#L81 the ORs were not groupped together in the find call, resulting in only *.cc files being processed. > Total errors found: 3463 Well, this will take a while to fix :disappointed: . Squashed with: * Trim unnecessary excludes, for there is no matching error to exclude. Fine-tune the remaining ones. * The grep below wasn't working as find exited nonzero and code that was supposed to handle that wasn't working as well as expected **** mana/plus!126
2025-02-10Upgrade cpplint to latest releaseFedja Beader1-1/+4
+Update CI job from Debian Buster to Bullseye. Buster's Py3.7 is too old for cpplint. Squashed with: * Update linters job to debian bullseye * Force use of python3 * Try upgrade to python3. Other scripts will probably break. **** mana/plus!124
2025-02-10Properly fail the nsiqcppstyle part of the linters CI jobFedja Beader3-9/+19
From updating to buster->bullseye in !124: nsiqcppstyle was silently failing, too >_> Squashed with: * I always forget newlines at end of printfs. * Add sore thumb to remind me of untreated wounds beneath bandages * nsiqcppstyle was silently failing, too >_> *Explicitly call python2 *Grep will exit non-zero if it finds nothing. *fix* **** mana/plus!125
2025-02-10Properly fail the failing cpplint.py part of linters CI jobFedja Beader2-9/+15
Squashed with: * Split out change * Let's get this to properly fail, first. put unfiltered file name into a variable and append .log to make it viewable online + direct URL for cpplint.py like before IT's LOGFILE, not ERRFILE.. sigh Nevermind, it actually is ERRFILE + add unfiltered version to init Downgrade version, py3 later Let's get unfiltered log to print if find fails Related: mana/plus!122 **** mana/plus!123
2025-02-10Fix cpplint.py part of linters CI jobFedja Beader1-2/+4
Google has removed cpplint.py three weeks ago and this has been silently failing since then. See also mana/plus!123 **** mana/plus!122
2025-02-03Expose exe in artifacts and report its size in logFedja Beader1-0/+10
Sometimes we're curious about the impact of a change on code size, this might satisfy us. **** mana/plus!121
2024-05-10Download mplint release instead of recompiling every timeFedja Beader3-37/+29
Saves 1min10s by not compiling and another 15s by moving it together with linters. Squashed with: * Make sure mplint internal error or failure to run is detected * Make mplint breaking cause job to fail * Move linters out of lightweight.. goes faster, 3m46s -> 1m45s * Make script fail if any command returns nonzero or if any variable is unset. * Donwload mplint instead of building it **** mana/plus!80
2024-04-09Fix nsiqcppstyle part of linters job to actually fail in case of issuesFedja Beader1-0/+1
2024-02-16Client rebranding: Partly import changes from !28Jesusalva Jesusalva1-4/+8
Co-Authored-By: jak1 <jak1@themanaworld.org> Co-Authored-By: jesusalva <jesusalva@themanaworld.org> Co-Authored-By: Fedja Beader <fedja@protonmail.ch>
2024-02-08Cut down some of the waiting times during CI tests.Jesusaves2-5/+5
If it works, CI performance will be greatly improved.
2024-02-08Be slightly more smart when running mplintJesusalva Jesusalva1-1/+3
Reduce some overhead on the script for a 4% speedup
2023-09-10trim useless uses of catFedja Beader7-45/+30
2023-09-10Reduce number of grep invocations + prettify + wrap param expansion in quotesFedja Beader6-75/+86
2023-09-10deduplicate repeating retriesFedja Beader1-69/+28
2023-09-09Reduce number of cpplint invocations from 1957 (?) to one.Fedja Beader1-1/+1
2023-09-09Reduce number of find and grep invocationsFedja Beader1-15/+17
2023-09-09Re-download cpplint only if needed or older than a dayFedja Beader1-3/+6
2023-04-06removed assertion for sdl surface bpp, tests get ugly, but default runtime ↵jak11-1/+1
works fine added "-A 20" to assert grep, so we get the backtrace directly in our pipelines
2023-04-03change serverlist url to tmw2.org, since manaplus.germantmw.de doesnt work ↵jak11-1/+1
(i dont rly know why, but all our updates are hosted there, so our serverlist now)
2023-04-03CI: fixed some apt issues (some vars are usable, some are not TF dont ↵jak12-2/+2
deprecate working stuff <_<)
2022-12-23updated mplint repositoryjak11-1/+1
2021-05-23[ci] splitted jobsjak11-2/+2
gcov -> build doxygen -> build pages -> deploy
2021-05-22[ci] added pages stagejak11-1/+3
added doxygen to pages stage added gcov_gcc6 to pages stage changed ci init script to use public dir.
2020-06-04Remove s from command sleep in run scripts in ciAndrei Karas2-10/+11
2020-06-04Update runtests.sh for cirrus ciAndrei Karas1-2/+4
2020-06-04Use cross platform path to bash in ci scriptsAndrei Karas155-155/+155
2020-06-03Add no flags into failing gcc-9 ci test jobAndrei Karas1-1/+2
2020-06-02Remove pedantic flag from gcc-9 and gcc-10 silent build scriptsAndrei Karas2-3/+3
2020-06-02Remove wrong offset in fedora ci buildsAndrei Karas1-1/+0
2020-06-02Add gcc-snapshot with SDL2 build into main ci branchAndrei Karas1-0/+16
2020-06-02Update runtest ci script for support offset from variableAndrei Karas1-1/+5
2020-06-01Add offset variable to sdl2 ci jobs due issues with sdl2 fonts renderingAndrei Karas14-1/+34
2020-06-01Increase sleep from 5 to 7 seconds in runtest ci scriptAndrei Karas1-1/+1
2020-06-01Add some flags in gcc-9 ci jobs for avoid doctest warningsAndrei Karas1-2/+4
2020-06-01Add gcc-9 and gcc-10 ci triggersAndrei Karas1-0/+7
2020-06-01Add token variable mapping for azure macosx ciAndrei Karas1-0/+2
2020-06-01Add gcc-10 ci branchesAndrei Karas2-0/+581
2020-06-01Add gcc-9 ci branchesAndrei Karas2-0/+581
2020-06-01Add missing gcc-8 builds in ci_gcc8 branchAndrei Karas1-0/+31
2020-05-30Disable warning -Wenum-conversion in gcc snapshot and fedora ci buildsAndrei Karas2-2/+4
2020-05-30Use latest macosx image in macosx ciAndrei Karas1-1/+1
2020-05-30Exit with error if docker pull in ci scripts failedAndrei Karas2-2/+2
2020-05-30Fiz azure login to docker registryAndrei Karas1-2/+4
2020-05-30Add ci job for any compiler testsAndrei Karas1-0/+23
2020-05-30Switch to gcc-7 in ci_mse branch due different issues in mse codeAndrei Karas1-18/+20
2020-05-30Fix ci_site branch by using image with complete python2 supportAndrei Karas1-0/+1
2020-05-30Remove warning mismatched-tags from gcc snapshot and gcc fedora flagsAndrei Karas2-2/+4
2020-05-30Add missing image name in gcc-7 ci branchesAndrei Karas2-0/+20
2020-05-30Use token for login into gitlab registry in azure build scriptsAndrei Karas1-1/+1