Commit Graph

312 Commits (5c0214142b77e1bf91085c4065023cf4fc64245d)

Author SHA1 Message Date
Gleb Mazovetskiy 2798db5418 CI/before_script.linux.sh: <tab> -> 4 spaces and remove unused ENV 3 years ago
Gleb Mazovetskiy 99ba45a308 Optional static builds of OSG, MyGUI, Bullet 3 years ago
psi29a 4974b64cbf Update CI/before_install.osx.sh 3 years ago
wareya 18ef32ca82 values for this higher than sGroundOffset cause jittering on some surface; use safe-seeming value slightly less than sGroundOffset 3 years ago
AnyOldName3 211894a178 Fix extraction with 7z 9.10
This is still used in the wild as lots of people install 7zip and never update it because it works. We can't check the version and abort if it's too old as the changelog doesn't make it clear which version fixed the behaviour.
4 years ago
corristo b8ed3b0059 [macOS, CI] Update dependencies, don't use lz4 from Homebrew
Also, enable double precision support for Bullet.
4 years ago
psi29a c86094e4db Bump to C++17 4 years ago
Bret Curtis 06689cfe2a bingo; cleanup 4 years ago
Bret Curtis 8b5aa4c001 try for link overwriting 4 years ago
Bret Curtis c3b464a0c8 brew reinstall lz4; purge /tmp/openmw-deps just in case 4 years ago
Bret Curtis 0719b75307 try to use brew version of lz4 4 years ago
psi29a 7b1cd8a72f use LZ4_1.9.2 instead of LZ4_1.9.2 4 years ago
psi29a 1278d3b784 make sure to use new path and trick caching 4 years ago
psi29a c0e3f1c7ce Update CI/before_script.msvc.sh 4 years ago
psi29a b3e27fae4c use updated msvc lz4 provided by anyoldname3 4 years ago
Alexei Dobrohotov d6612eef20 Fix indentation 4 years ago
Bret Curtis 503bf7f78b added lz4 to our macos deps; let us see if that works 4 years ago
Bret Curtis edd6a329ee tell 7z to extract to specific directory 4 years ago
Bret Curtis e280a36701 correct filename of lz4 archive; fix indentation 4 years ago
Bret Curtis 7954dccb44 lz4 prep work; get linux and windows ready 4 years ago
psi29a b222872446 Android build on gitlab 4 years ago
Bret Curtis b024518c18 Resolve 'shared_timed_mutex' is unavailable: introduced in macOS 10.12 4 years ago
AnyOldName3 ef41edba9b Install tools in before_install.osx.sh 4 years ago
elsid 23fe60a067
Run unit tests in a separate build 4 years ago
psi29a 1ddfb18cb3 Update CI/before_script.msvc.sh 4 years ago
Bret Curtis c291bb169e fixed indentation and additional diffs 4 years ago
Bret Curtis 18899394c4 typo in path 4 years ago
Bret Curtis bf7e1bd32b make switch to using GL hosted windows deps 4 years ago
AnyOldName3 9e547e14d2 Allow setting up multiple build configurations at once
Also fix some bugs discovered in the process.

For multi-config generators, this basically just copies the DLLs for
each configuration, and for single-config, due to there being separate
build directories with separate extracted dependencies for each, it
defaults to just one, and will run the script several times if you
manually specify several.

Details include:
* Changing CONFIGURATION from a string to an array called
  CONFIGURATIONS. This gets iterated over in a bunch of places.
* Fixing a typo of 'cannot'
* Making the DLL lists arrays per-config, too.
* Some handling for the recursive stuff and a warning if configurations
  are set with a multi-config generator.
* Moving the configuration name sanitisation after they've been set.
* Myriad changes to Google Test:
  - Build it in a directory specific to the build tools - previously,
    having an MSVC 2017 and MSVC 2019 build on the same machine was
    impossible if unit tests were on, even though it's allowed otherwise
  - Use either Debug or Release Google Test as its finder isn't looking
    for RelWithDebInfo or capable of dealing with it if we try and use
    it anyway.
  - Always build Google Test with MSBuild as it's much less hassle due
    to CMake setting up the environment for us. Currently, MSVC always
    comes with something that can build solution files, no matter how
    you get it, so this shouldn't upset anyone.
  - Use CMake's --install mode so we can set the install prefix in the
    place that uses it.
  - Pass CMake both Debug and Release Google Test instead of risking a
    C/C++ library configuration mismatch causing linker and runtime
    errors - it'll pick a suitable one for each configuration.
  - Pass the library type explicitly as CMake can't cope without a
    Release library if you only gave it Debug, due to accessing a
    Release-specific variable unconditionally.
* Remove the -legacy flag from vswhere as it's only needed for MSVC
  2015, which we don't support any more.
* Fix the -version argument for vswhere as I'd massively cocked it up.
  I don't know how that happened as I did test it on a machine with
  multiple MSVC versions installed, which was the failure case, but it
  didn't fail then.
4 years ago
AnyOldName3 f4db29a717 Kill BUILD_CONFIG
It was basically just CONFIGURATION but less confusing. CONFIGURATION
could just be less confusing.
4 years ago
AnyOldName3 70384d8a83 Restore previous bash settings on exit 4 years ago
AnyOldName3 b71f13965a Don't set pipefail 4 years ago
descawed 58e0b34adc Verify certificates when downloading dependencies 4 years ago
Nikolay Kasyanov 3be1cdef33
[macOS, CI] Use Xcode 11.6 (#2970)
* [macOS, CI] Use Xcode 11.6

* [macOS, CI] Enable OpenCs build and see how it goes

* [macOS, CI] Re-enable package build and check
4 years ago
AnyOldName3 38f1eae575 Merge remote-tracking branch 'upstream/master' into yet-another-windows-shared-runner-attempt 4 years ago
Bret Curtis 4a17bf27a3 Set BULLET_ROOT via add_cmake_opts like we do the rest 4 years ago
Bret Curtis 14d5b3eeaf try release again and turning on bit by bit for ccache to be used 4 years ago
Bret Curtis db75398fba only build openmw for now 4 years ago
Bret Curtis 3ea576efdc do not build a few things; temporary disable checking package; get things compiling and cached first 4 years ago
Bret Curtis 1e23d007dd Use Debug instead of Release to increase build time (passing -O0) 4 years ago
Bret Curtis a62e3a7b35 What happens when I remove the sysroot line? 4 years ago
Bret Curtis 3eeee4bc94 drop need to upgrade qt, 5.15 is by default installed; add CXX_FLAGS; retarget SYSROOT to 10.15 4 years ago
AnyOldName3 0d7b9c51fd Log misparsed stuff as it caused an unexpected CI failure 4 years ago
Evil Eye fcc761c13c Update Windows CI script to download a version of Google Test that can actually compile the tests 4 years ago
AnyOldName3 35d920569c Tweak error message
As we have `set -e`, the error message would never be printed if we
genuinely failed to create the virtualenv, just if we succeeded and the
expected directories didn't exist.
4 years ago
AnyOldName3 657306c293 Make Qt work on my machine
Switches `eval stuff $STRIP` to `run_cmd` as it'll log errors on failure
and eval was breaking commands that ran just fine otherwise.

Don't download aqt wheel from pip and install it in two separate steps.

Upgrade aqt from 0.8 to 0.9.2 as there are bugs with 0.8 that stop Qt
5.15.0 from working for some people.

Fall back to Qt 5.14.2 for 64-bit on MSVC 2017 as the package list is
broken and that specific combination doesn't work right now.
4 years ago
Bret Curtis ae49549f03
change build type to debug for ci/cd
it should set -O0 which should prioritise fast compilation for gcc
4 years ago
Bret Curtis ad25b22db7 removed need for split compilation for static analysis, we've gone from openmw taking 30 minutes to taking 3. Merging them also makes our before_script.linux.sh less complicated; removed redundant CMAKE flag; set build type to RelWithDebInfo as None has no meaning (even if it still builds). 4 years ago
Bret Curtis 61a5c6125d #5480: Drop Qt4 support and require Qt 5.12 or later. 4 years ago
AnyOldName3 36d0a55600 Add error message when vswhere doesn't find MSVC 4 years ago