1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2024-11-29 11:24:19 +01:00
Commit Graph

1151 Commits

Author SHA1 Message Date
David Anderson
4f1721e9e4 Add support for hl2sdk-mock.
This also fixes UTIL_Relatize basically being completely bogus. For
backwards compat it's wrapped in a helper though.
2021-09-22 12:05:15 -07:00
zer0.k
137f272516 Fix snapshot links in readme 2021-08-03 10:59:36 -07:00
David Anderson
939525b976 Switch to python3 for ambuild. 2021-07-11 22:24:38 -07:00
peace-maker
076717b6f4
Start using Github Actions (#83)
* Start using Github Actions

Test on all platforms. SourceHook tests are broken on windows
so allow failures until they're fixed.

* Only run the workflow for the master branch
2021-05-07 10:49:22 +02:00
Asher Baker
80d3f9c14d
Restore the frame pointer on Linux (#78)
See alliedmodders/sourcemod#1200
2020-12-28 02:10:53 +00:00
peace-maker
0ab7434c43
Enable Insurgency and Blade Symphony x64 builds (#77)
* Enable Insurgency and Blade Symphony x64 builds

The HL2SDKs were updated to support compilation and linking on x64 before. #67 allowed to load MMS on Blade Symphony Win64. AMBuild 2.2 allowed to build for multiple architectures in one build script on Windows.

#76

* Add Insurgency to AppVeyor SDKs to test win64 builds

* Try to enable x64 builds on appveyor

* I don't know PowerShell syntax

* Split the envvar before usage

Thanks psychonic!
2020-12-22 23:45:29 +01:00
Nick Hastings
0084d58709 Add existing appveyor yaml to tree. 2020-11-11 19:04:09 -05:00
Nick Hastings
8b2688ea94 Roll version number. 2020-11-02 20:01:30 -05:00
David Anderson
b8d1fd401d
Merge pull request #66 from PlayBoy31/patch-1
Build against available metamod and all possible sdks
2020-09-01 17:14:19 -07:00
David Anderson
a4aafd7625 Fix for latest AMBuild API. 2020-08-24 21:41:35 -07:00
David Anderson
26aa51c395 Build x64 packages on Windows. 2020-08-20 23:27:53 -07:00
David Anderson
644dfe50a7 Fix another arch use. 2020-08-19 15:03:47 -07:00
David Anderson
eec8f956e0 Fix startbuild.pl. 2020-08-19 14:59:39 -07:00
David Anderson
43a30176c0 Fix BreakpadSymbols. 2020-08-19 14:54:20 -07:00
David Anderson
2eea77981d Fix bootstrap.pl. 2020-08-19 14:51:43 -07:00
David Anderson
e375e3a76f
Merge pull request #71 from alliedmodders/amb22
Upgrade to AMBuild 2.2.
2020-08-19 14:48:25 -07:00
David Anderson
acea12f29b Upgrade to AMBuild 2.2. 2020-08-19 14:41:55 -07:00
David Anderson
3c5f0ca282
Merge pull request #69 from WildCard65/checkout-deps_fixes
Updated 'checkout-deps' to check for 'pip'/'pip3' prior to installing 'AMBuild'
2020-07-31 14:33:51 -07:00
WildCard65
9eae50376c
Updated 'checkout-deps' to check for 'pip'/'pip3' prior to installing 'AMBuild' 2020-07-31 13:19:43 -04:00
peace-maker
b267567e50
Fix detection of Blade Symphony on Windows x64 (#67)
* Fix detection of Blade Symphony on Windows x64

Port finding the module base address on x64 builds from SourceMod.
Fix a bunch of truncation warnings on x64 while at it too.

* Fix mm_TrimComments stripping last char before comment

```c
char test[] = "hi this is a a test!// comment";
mm_TrimComments(test);
puts(test); // prints "hi this is a test" without the !
```

* Fix unsigned comparison warnings

* Fix truncation warnings in SourceHook::String

* Fix unsigned comparison warnings

clang does have some nice analysis.
2020-06-25 00:04:36 +00:00
Loïc
a26a25dc6b
Build against available metamod and all possible sdks
With the current version of the script, it’s not easy for a beginner to compile a sample mm plugin.

In fact, we need to set when we configure the build the SDK and the mm path. It’s not very clear for beginners + the script crash with an exception which cause a confusion

With this version, just make build directory, do a configure in direction then, build => enjoy!
2020-04-24 00:48:03 +02:00
Asher Baker
a919db5694 Fix lin/mac build 2020-03-11 22:40:19 +00:00
Asher Baker
1b449d20b8 Changes required for upcoming Blade Symphony update 2020-03-10 23:54:57 +00:00
Asher Baker
98d0c0ff7e Trigger build for hl2sdk-csgo update 2019-09-02 21:53:53 +01:00
Nick Hastings
de330743d8 Disable Dota 2 build until linking issues are fixed. 2019-03-28 22:17:57 -04:00
Nicholas Hastings
7337d41399
Trigger build for hl2sdk-csgo update. 2019-03-28 19:59:38 -04:00
Nick Hastings
462babab06 Disable Dota 2 search path fixups until newer IFileSystem changes can be
better reversed.
2019-03-17 11:56:01 -04:00
David Anderson
c17798868f Trigger build again. 2019-03-16 23:37:27 -07:00
David Anderson
b5d705a2fc Trigger build. 2019-03-16 23:34:11 -07:00
David Anderson
22c8a7b0d6
Merge pull request #57 from maximsmol/sample_mm_ambuild
Transition sample_mm to AMBuild
2019-02-24 10:32:54 -08:00
Maksim Smolin
628cae7065 add iconv as sdk2013 depends on it 2019-01-22 17:31:21 -08:00
Maksim Smolin
c2420c0f17 define GNUC so that SDKS build properly 2019-01-22 17:31:00 -08:00
Maksim Smolin
c61d0576b1 remove defines that are re-defined in the SDKs 2019-01-22 17:30:39 -08:00
Maksim Smolin
2facd37fd8 transition sample_mm to AMBuild 2019-01-22 13:07:37 -08:00
Maksim Smolin
02e061d88c Fix XCode 10+ build issues (#55) 2019-01-21 21:52:48 -08:00
Nick Hastings
974de7074c Trigger build against hl2sdk-tf2 update. 2018-08-02 17:28:15 -04:00
David Anderson
7efa054b82
Merge pull request #52 from alliedmodders/warnings
Prevent some warnings for SM builds
2018-07-31 21:23:52 -07:00
Headline
d5030d0612 Re-add dummy, cast to void 2018-07-31 21:14:08 -07:00
Michael Flaherty
37738022ee dvander foxes 2018-07-31 13:17:48 -07:00
Kyle Sanderson
625c59dad5
Disable de-virtualization in sh-tests for gcc-4.9+ (#53)
* Update AMBuilder
* Re-add gcc6 to .travis.yml
* right; 🐍
* where Travis-CI?
* fix whitespace problems w/ travis.yml
2018-07-31 11:02:13 -07:00
Headline
b9b150e638 Fix warnings for SM builds 2018-07-29 04:09:18 -07:00
Kyle Sanderson
e573602f81
Add additional test coverage to Travis-CI. (#50)
* NPOTB: clang clang clang goes the trolly, gcc7 goes the bell.

* Update AMBuildScript

* Initialize engine_path when abspath fails.

* Fix lptr being uninitialized when getcwd fails.

* Remove GCC6; deeper issues than this PR will cover
2018-07-27 22:03:33 -07:00
Nick Hastings
ad00df3864 Fix Dota build for hl2sdk-dota updates. 2018-07-07 14:06:14 -04:00
Nick Hastings
1b83816c7e Crank up SourceHook param count support from 17 to 20. 2018-07-07 08:45:23 -04:00
Nicholas Hastings
988386eb29 Trigger build again for further Dota Linux SDK lib fixes. 2018-06-16 09:50:59 -04:00
Nicholas Hastings
f4961d74c2 Trigger build for Dota Linux tier1 rebuild. 2018-06-16 09:27:34 -04:00
Nick Hastings
3eb261a24d Link mathlib on BMS now (for vec3_origin required by tier1 ConVar).
This is also to trigger an MM:S build for hl2sdk changes in multiple branches.
2018-05-05 10:56:51 -04:00
Nicholas Hastings
b2e51c93f8
Trigger build against hl2sdk-bms update. 2018-05-03 07:36:03 -04:00
Nicholas Hastings
30c6e9107d
Normalize paths when comparing. (fixes #37). (#38)
When resolving bin paths from gameinfo to platform-specific absolute paths, we end
up with ".." instances on x64, causing the paths being compared to look different. MM:S
then cannot differentiate it's server bin path from the game's server bin, causing us to
load ourselves as the server bin over and over again, causing a stack overflow.
2018-01-28 11:49:28 -05:00
Nicholas Hastings
d6ee3bfaae Re-enable Dota 2 Linux x64 build. 2017-12-20 08:47:03 -05:00