Commit graph

34 commits

Author SHA1 Message Date
Eism
fa187f163a Moved YouTube API key to gitHub secrets 2021-07-07 16:46:41 +02:00
Joachim Schmitz
6bcaff05e0 fix msvc_build.bat to work again 2020-12-11 11:34:33 -06:00
Igor Korsukov
5a8bb0f1e0 removed build_mu4 define 2020-12-03 10:36:25 +02:00
Igor Korsukov
aca3c25996 added removing pending lock files 2020-12-01 17:11:13 +02:00
Igor Korsukov
bfd8228344 sync CI build scripts with 3.x 2020-11-17 10:10:22 +00:00
Peter Jonas
48961e1b32 Speed up MSVC builds and tidy msvc_build.bat script
Speed improvements:

- CMake configuration is only done on the first build.

- Avoid building if configuration was unsuccessful (fail fast).

- Preserve %ERRORLEVEL% on exit (avoid running subsequent commands).

Other improvements:

- Remove check for "nul" directory as this doesn't work on modern
  Windows. It is now possible to check for the directory itself.

- Use K&R braces/parentheses everywhere (i.e. not banner style).

- Strip trailing whitespace.
2020-11-09 15:13:29 +02:00
Igor Korsukov
cffade8f21 sync CI scripts from 3.x to master 2020-11-09 09:19:54 +02:00
Igor Korsukov
cbd51267d5 removed revision h file 2020-10-30 14:01:14 +02:00
Igor Korsukov
b5190c58b7 added build vst module on CI 2020-10-27 09:38:23 +02:00
Igor Korsukov
85e4b87a78 porting win portable build from 3x to master 2020-10-15 14:13:17 +02:00
Igor Korsukov
35fd50f049 added build two modes (mu3 and mu4) on CI 2020-09-19 15:19:04 +02:00
Igor Korsukov
f6a54f437b updated CI scripts and Qt 2020-09-16 01:05:13 +02:00
J. Edward Sanchez
4d35cb85f4 Fix #303864: Support command-line building using Visual Studio 2019
Enhanced the msvc_build.bat batch file to support Visual Studio 2019 (in addition to VS2017) and to automatically detect the highest supported installed version of Visual Studio and use it.
2020-04-14 09:54:23 -07:00
Dmitri Ovodok
29e5a76965 Simplify version-specific configuration in build scripts 2020-02-07 13:31:24 +02:00
pereverzev_v
b196ebf7a2 Added a track id build option for Win, OSX and Linux 2019-12-20 16:22:27 +02:00
Joachim Schmitz
d033bb1f19 integrate changes for WINSTORE
as taken from 5e72afdc
2019-12-12 09:57:56 +01:00
anatoly-os
2873506e88 fix msvc_build.bat script to work with 32-bit builds 2019-08-31 18:39:17 +02:00
Joachim Schmitz
b1fdd8e3d4 fix AppVeyor/Windows build + collect_artifacts 2019-07-26 17:19:51 +02:00
L0uisc
505b85e14f clean up and remove unnecessary tasks from msvc_build.bat 2019-05-10 18:57:35 +02:00
anatoly-os
1e01936eed change package step configuration to relwithdebinfo 2019-04-11 19:17:41 +02:00
Dmitri Ovodok
e6ac39d455 Remove quotes from most variables in msvc_build.bat
In cmd.exe quote characters are included to a variable value which
causes problems in using the result of concatenation of such
variables since the result becomes like this:
C:\MuseScore\"msvc.build"_"x64"\mscore
which is interpeted by some programs as this:
C:\MuseScore"msvc.build_x64\mscore
           ^^^
which leads to invalid results.
2019-02-25 18:43:23 +03:00
Dmitri Ovodok
05169e935d Build with crash reporter on AppVeyor 2019-02-25 18:43:23 +03:00
Dmitri Ovodok
536e27efe9 Add a crash handler using Breakpad with libcrashreporter-qt 2019-02-25 15:06:14 +03:00
anatoly-os
55043ecd0e WinSparkle auto-updater integration
WinSparkle is used to auto update MuseScore on Windows.
Add basic API calls to make it work.
Add winsparkle.dll and includes.
Generate appCast.xml and put to S3

* don't build winsparkle routines with local build
* fix interactions with global checkForUpdates option
* Mac now invalidates both Win and Mac appcast files
* fix scriptrecorder compilation + fix generating appCast for stable version
* Fix packaging WinSparkle
* change exe file name to MuseScore3.exe
* generate package GUID automatically to avoid installation collisions
* Use embedded update checker for UNSTABLE Windows builds
* comment WinSparkle appcast.xml deploy for unstable builds
2018-11-25 03:00:30 +02:00
Joachim Schmitz
0a29200f43 make args to msvc_build.bat being case insensitive 2018-10-25 13:27:39 +02:00
anatoly-os
a5edbcadba fix update checking 2018-09-11 20:00:46 +02:00
anatoly-os
e5093a22a6 fix install step in msvc_build.bat script 2018-08-23 14:29:12 +02:00
anatoly-os
3b6de47559 fix msvc_build.bat script
Remove comments from echo
Switch to building relwithdebinfo 64-bit by default
2018-08-23 13:53:23 +02:00
anatoly-os
f90018b857 Support 64-bit compilation
Update cmake files to support 64-bit compilation.
Add variables to easily switch between 32-bit and 64-bit compilation
Update msvc_build.bat to support both 32-bit and 64-bit compilation
Optimize msvc_build.bat to avoi excessive output
Update AppVeyor build scripts so that default compilation is 64-bit now
Make default configuration built from opening MuseScore directory 64-bit
RelWithDebInfo. All other configurations are up to msvc_build.bat
script.
Qt libs which are used for building are placed in msvc2017_64 folder.

These changes require new structure of the dependencies folder.
2018-08-23 10:48:56 +02:00
anatoly-os
3ef8861837 Fix disappeared "Check for updates menu item"
fix reading BUILD_FOR_WINSTORE variable from within the msvc_build.bat
2018-08-08 16:31:47 +02:00
anatoly-os
5b53805810 add RelWithDebInfo configuration for MSVC
MuseScore built with Debug configuration is too slow for comfortable work, so most of the time RelWithDebInfo is more suitable
Add installdebug step
2018-08-08 14:52:21 +02:00
anatoly-os
9ccc6cc861 fix lupdate step for MSVC
Replace *.ts mask with the list of real .ts files.
Make lrelease dependent from mscore to call it automatically when building MSVC code
Add debug build to msvc_build.bat
2018-08-08 10:47:01 +02:00
anatoly-os
0ff93b6476 fix absence of the revision in the package on AppVeyor 2018-08-04 14:51:45 +02:00
alexandr
df114f189c Compile under MSVC: this commit caontais all changes to run MSVC build
1) fix some bugs which appear in runtime:  replace QString::tostdstring() to Foo.toUtf8().constData().

2) Enable start center online community. To use it you need download webengine in your QT lib. see instruction https://musescore.org/en/handbook/developers-handbook/compilation/compile-instructions-windows-visual-studio-2017-wip

3) update install steps. Add additional dlls for webEngine. Add copying dlls and musescore.exe to /msvc.install/bin folder. Run project will work with the "$(ProjectDir)\..\..\msvc.install\bin\MuseScore.exe" specified in Debugging field in mscore project

4) Moving AppVeyor from MinGW to MSVC. Exclude ALL MSVC project from INSTALL project. Exclude ALL from PACKAGE. Remove migw-cmake in script build, add .bat instead. Remove xcopy from 7z archive step

5) Fix warning : Warning C4703 potentially uninitialized local pointer variable '' used; Warning C4456 declaration of '' hides previous local declaration; Warning C4458 declaration of '' hides class member

6) Change path to 11 version wix toolset which created .msi installer package
2018-08-04 12:17:31 +02:00