Commit Graph

38 Commits

Author SHA1 Message Date
Vitalii Koshura 4594160ffb
[Windows] Add MSVS 2019 with vcpkg support
Added new projects to build with Microsoft Visual Studio 2019.
Added vcpkg support for 3rd party libraries.
For simplification all executables use static linked libraries
(impact +0.5 MB or < 3%).
Enable build for all projects (including examples for opencl, cuda etc).
Configuration is not tested yet, so no CI added.
Also because of the reason above projects for VS 2013 are not removed yet too.

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2020-03-16 02:32:35 +01:00
Uplinger 8ad746ef94
Merge pull request #3107 from BOINC/cb_gtest_integration_ci
Tests: add unit testing framework using googletest
2019-05-02 13:50:10 -05:00
Vitalii Koshura 083b5e5ae1
[Android] Fix Vagrant build
Make force upgrade for non-interactive sesstion.
Add android/.vagrant folder to .gitignore

Fixes #3113

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2019-05-02 11:26:12 +03:00
Christian Beer 6dbf55fd9a Tests: add unit testing framework using googletest
* enable coverage reports from gcc and disable optimizations via option to configure
* install googletest library into buildcache
* script to compile and run unit tests using cmake
* first set of unit tests originaly contributed by Keith Uplinger

There are several hardcoded paths and assumptions made in order to get this working on Travis CI. New tooling is using cmake for cross platform builds and as such is not easy to use with an autotools based system.
It's not ideal but better than nothing.
2019-04-20 13:30:03 +02:00
Kevin Reed ba83062d3a
Merge pull request #2967 from BOINC/dpa_server_version
web: keep server version # in a file (html/inc/server_version.inc)
2019-03-01 11:39:47 -06:00
Adam Radocz 77f9c64e58
Update to don't ignore the Android Studio code style related files. 2019-01-25 16:53:36 +01:00
David Anderson 6e92d243ef web: keep server version # in a file (html/inc/server_version.inc)
... rather than generating it during configure.
This way things work for projects that don't do "configure",
e.g. because they use only the web code.
And it's simpler.

Maintain this as for client version #s.
The minor version # is even in release branches,
odd in development branches like master.
2019-01-16 16:29:24 -08:00
lfield 61d50f69ce alternative approach for server versioning. 2018-11-30 15:12:46 +01:00
Vitalii Koshura 0165ac960f
Improve .gitignore by adding .vscode folder
Microsoft Visual Studio Code is a very useful and popular IDE.
This commit adds .vscode folder to .gitignore.

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2018-09-21 14:39:19 +03:00
Vitalii Koshura 944aef5748
Fix .gitignore by adding .vs folder
Visual Studio 2015/2017 use new cache/options directory .vs in the root of solution directory and should be ignored

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2018-09-08 04:43:47 +03:00
Kevin Reed ff36cc5f66 Build: Add python bytecode files and py/lib/Boinc to .gitignore 2018-03-08 09:38:59 -06:00
Bryan Quigley 2674c25be4 Add generated systemd unit
Both Fedora and Debian have their own systemd units for boinc;
this is based on elements of both so we stop duplicating effort.

This also adds minimal confinement to protect the home directories.

Also added clean to init.d script and made it only install if a
init.d directory already exists.

Closes: #2255
2018-02-02 16:06:45 -05:00
Christian Beer 38b0106074 Merge pull request #1819 from BOINC/travis_linux_build2
Build: restructure dependency builds for Linux
2017-04-19 14:21:24 +02:00
Oliver Bock 74d6392651 [android] Updated .gitignore patterns
* Merged Android-specific .gitignore file (cover ProjectApp, avoid redundancies)
* Added assets copied by build scripts (don't track them twice)
* Also ignore staged files
2017-03-29 11:38:09 +00:00
Christian Beer 3dc439945b Build: restructure dependency builds for Linux
This reduces the size of files to be cached between builds by the CI system. The scripts are flexible enough so they can also be used by developers locally.
2017-03-17 14:55:39 +01:00
Christian Beer 28cb18196f Merge pull request #1713 from BOINC/update_transifex
Until now we used a transifex-github bridge to manage translations and templates. This proved to be unreliable lately and also needs a special setup to be maintained. This PR eliminates the need for a special bridging software and uses transifex tools directly with minimal maintenance required. Major changes include:
* website translations (project-generic) are now stored in one place where they are also used (no manual copying of files anymore)
* the transifex client is used to pull down translation resources that are 100% translated and put's them in the correct place
* the updatetrans.sh script does all the steps to update translations in the repository (supposed to run as a cronjob)

What updatetrans.sh can't do right now is update templates and upload them to transifex. That will be done by another script.
2016-11-23 13:52:21 +01:00
Christian Beer 31a466883b Locale: update tool to update translations
This finishes the transition from the txgh bridge to using the transifex client to download translations and update them in the github repository. A BOINC developer needs to have write access to the github repository and must be a maintainer of the transifex project.
Don't forget to initialize the transifex client with the transifex credentials (http://docs.transifex.com/client/init/) before first use of the script.
2016-11-16 23:59:15 +01:00
Christian Beer 2c36e7246d Daemons: enhance validator framework
The validator handler can now pass unknown arguments to the project specific handler.
Projects that have there own validator need to implement the validate_handler_init() function and handle project specific arguments there. They also need to supply a validate_handler_usage() function that printf()'s a description of the custom options. For examples see sample_substr_validator.cpp or script_validator.cpp
The validator test harness was also adopted to use this new functions.

This brings the implementation of the validator framework on the same level as the assimilator framework where similar changes where made in 0038d275c and dd004404a.
2016-08-16 11:14:42 +02:00
Christian Beer 4e1e62a5e1 Build: update .gitignore 2015-10-13 16:58:12 +02:00
Christian Beer db8c652ee4 BUILD: add configuration for scrutinizer-ci.com (PHP code analysis)
- update list of ignored executables
2015-09-01 08:41:19 +02:00
Oliver Bock 12e798cab6 Merge branch 'master' into drupal-generic
Details at: https://dev.gridrepublic.org/browse/DBOINCP-202
2015-07-22 16:01:26 +02:00
Rom Walton 557f351785 WINBUILD: Cleanup work to support VS 2013 builds 2015-05-06 18:14:31 -04:00
David Anderson 55ce7c0df4 Git: add some files to .gitignore 2014-09-02 00:32:21 -07:00
David Anderson 977b141472 Unix build: if _autosetup run with -f, run autoreconf with -f also
Also: extend .gitignore to ignore to ignore files created
by _autosetup, configure, and make.
From Christian.
2014-08-14 13:52:32 -07:00
Rom Walton 834162bee9 WINBUILD: Remove old 5.x to 6.x migration custom actions. 2014-04-03 11:13:11 -04:00
Rom Walton e40f265c2b WINBUILD: Update BOINCCAS project files to VS 2010 2014-04-03 11:06:23 -04:00
Rom Walton 8423a5fb3f MISC: Ignore the BOINCCAS build files 2014-02-26 19:09:02 -05:00
Rom Walton 5fd0d78fd3 WINBUILD: Updates for 7.3.2 2014-02-12 18:59:28 -05:00
Rom Walton bc0ee6c829 WINBUILD: Remove ipch stuff 2013-12-03 13:07:09 -05:00
Rom Walton 7b73ef6dbf WINBUILD: Use correct calling convention for the vs2010 zlib libraries. 2013-10-17 17:17:38 -04:00
Rom Walton bcf8ca2565 WINBUILD: Update build environment to use Visual Studio 2010. 2013-10-17 15:27:03 -04:00
Rom Walton 307a02a39f Ignore the PTP installer temp directory 2013-07-10 12:07:03 -04:00
Oliver Bock 2a2792c6bd Ignore and don't track certain files in this repo 2013-06-24 15:00:45 +02:00
Rom Walton b2c53551b6 - World Community Grid: Update our Skin for the 7.0 client
- World Community Grid: Delete files from the old skin
- World Community Grid: Fix compile error in custom World Community Grid section of code
- World Community Grid: Update the Windows build files for World Community Grid
- World Community Grid: Update installater and related files for version 7
- World Community Grid: Add WCG directory to section of .gitignore for installer files
2013-03-05 16:42:44 +01:00
Rom Walton 24921b204e android: adjust default android toolchain location so that it isn't deleted after a reboot 2013-03-05 13:33:27 +01:00
David Anderson 861696c060 - fix compile warning
- Git can ignore Unix compile outputs
2013-03-04 17:12:13 +01:00
Rom Walton dddb606127 Ignore code signing stuff 2013-03-04 17:12:12 +01:00
Rom Walton c68717aa0e Tell Git which files and directories are safe to ignore 2013-03-04 17:01:37 +01:00