Commit Graph

318 Commits

Author SHA1 Message Date
fgsfds 98a7f6fa3f ci: add nswitch build scripts 2023-02-07 18:34:58 +01:00
fgsfds 919d510f63 Merge branch 'master' of https://github.com/FWGS/xash3d-fwgs into switch_newer 2023-02-05 02:37:40 +01:00
Alibek Omarov 87c307f47e scripts: flatpak: install vgui 2023-02-05 04:27:58 +03:00
Alibek Omarov 34b0cdc125 scripts: flatpak: use relative paths as RoDir doesn't allow absolute paths for now 2023-02-05 04:13:45 +03:00
fgsfds 25a1cb8ce7 Nintendo Switch support (again) 2023-02-05 02:09:32 +01:00
Alibek Omarov a610b1545b scripts: flatpak: check .local directory for steam library 2023-02-05 03:44:58 +03:00
Alibek Omarov 30b698067a scripts: flatpak: allow easy debugger attach 2023-02-05 03:25:07 +03:00
Alibek Omarov f63f1a0dc6 scripts: flatpak: add another default Steam library path 2023-02-05 02:43:36 +03:00
Alibek Omarov 00ddd95c27 scripts: flatpak: try to add ourselves to desktop menu entries 2023-02-05 02:25:21 +03:00
Alibek Omarov f3ff942ea9 scripts: flatpak: add basic i386 flatpak script 2023-02-01 04:58:12 +03:00
Alibek Omarov ae66291272 scripts: compiler_optimizations: added MSan target 2023-01-31 04:28:08 +03:00
Alibek Omarov 2705e77a4e ci: don't spew config.log when it's not needed, less verbosity 2023-01-14 10:06:32 +03:00
Alibek Omarov 256fe7ede9 scripts: make sure to test filesystem on CI 2022-12-27 02:31:46 +03:00
Ivan 'provod' Avdeev cc85a191f1 waf: fix depending on sebastian on win32 2022-11-19 13:28:18 -08:00
Ivan Avdeev b8bfe3b3a8 sebameat: serialize and load resources 2022-11-19 12:02:18 -08:00
Alibek Omarov aa702f0678 scripts: waifulib: xcompile: add msvc-wine support in cross-compile helper script 2022-11-16 04:19:46 +03:00
Ivan Avdeev e5abf365dd seba: remove debuggery 2022-11-13 22:55:38 -08:00
Ivan 'provod' Avdeev 45d5565898 seba: explicitly find python interprete on windows 2022-11-13 16:29:41 -08:00
Ivan 'provod' Avdeev df2546514e seba: make windows find and run it
also attempt to fix finding dependency nodes
2022-11-13 16:29:41 -08:00
Ivan Avdeev 9ddf9c243b add debug logs for ci investigation 2022-11-13 16:29:41 -08:00
Ivan Avdeev d49b0907b9 meat/waf: clean things a tiny bit 2022-11-13 15:07:36 -08:00
Ivan Avdeev 5d5b595529 meat: waf: track shader dependencies properly
needs a cleanup, committing with debug outputs for now
2022-11-13 14:54:18 -08:00
Ivan Avdeev f2697fc7e6 vk: run sebastian as part of waf 2022-11-13 01:19:50 -08:00
Alibek Omarov ffe43e1f22 scripts: waifulib: fix error reporting in zip.py 2022-09-20 21:56:25 +03:00
Владислав Сухов c59b244d04 scripts: gha: fix path to vgui_support submodule 2022-09-17 15:55:40 +03:00
Alibek Omarov b56f6fa330 scripts: waifulib: fix zipfile init for older Python 2022-09-11 02:50:52 +03:00
Alibek Omarov 807f3852bd scripts: gha: remove building extras.pak, as it's already being built 2022-09-11 02:20:36 +03:00
Alibek Omarov 084089b919 3rdparty: extras: build ZIP archive and install to engine default gamefolder 2022-09-11 02:13:23 +03:00
Alibek Omarov 686a966ff7 wscript: now waf builds extras archive by itself, using Python standard library's zipfile 2022-09-11 01:39:29 +03:00
Alibek Omarov 9d49985100 scripts: gha: build tarball for dedicated server 2022-08-25 19:40:27 +03:00
Alibek Omarov 44cd03f464 wscript: refactor opus wscript files, now it builds only if system package wasn't found 2022-08-18 04:46:11 +03:00
Velaron 2b9e050f57 engine: voice support 2022-08-18 04:46:11 +03:00
Ivan Avdeev 6b9ddf288f Merge remote-tracking branch 'upstream/master' into merge-from-upstream 2022-08-08 00:08:17 -07:00
Alibek Omarov 067e9be37a scripts: upgrade to Android NDK 25 2022-08-01 14:25:44 +03:00
SNMetamorph b26cd6cc94 wscript: added /Zc:__cplusplus compiler flag for MSVC 2022-08-01 12:54:26 +03:00
Alibek Omarov 772f4dcb60
scripts: gha: win32: fix build type from debug to release 2022-07-14 18:26:47 +03:00
SNMetamorph 3ec9977212 wscript: added parallel builds compiler flag for MSVC 2022-06-30 16:14:21 +03:00
Alibek Omarov f63dd72260 scripts: gha: fix including vgui.dll 2022-06-12 04:16:41 +03:00
Alibek Omarov efdf9e3599 scripts: gha: include activities.txt on win32 continious builds 2022-05-30 02:35:06 +03:00
Alibek Omarov 654bac83a5 scripts: do not upload branches as main continious prerelease 2022-03-20 06:38:46 +03:00
Alibek Omarov 8169c2a40b wscript: set rpath to current folder, LD_LIBRARY_PATH is unneeded anymore
Fix README and AppImage launch script accordingly
2022-03-03 05:57:51 +03:00
NightFox bb84a3cb7f add /fsanitize=address for msvc (windows) when sanitize 2022-01-16 09:54:17 +03:00
Alibek Omarov 6b332eabd2 scripts: gha: include extras in MAGX and Win32 builds too (Linux and Android already have it) 2022-01-13 18:31:12 +03:00
Alibek Omarov f1a4d66d27 scripts: waifulib: remove nooptimize build type, use debug instead. Disable optimization for sanitize builds 2022-01-04 01:58:45 +03:00
Alibek Omarov b7a32f6843 scripts: gha: install deps on aarch64 2021-12-31 05:29:11 +03:00
Alibek Omarov 7a0a355baf github: grab artifacts by wildcard rather than a list 2021-12-17 04:38:23 +03:00
Alibek Omarov a4be009ce7 scripts: waifulib: disable stpcpy builtin for API level <21 2021-12-17 03:15:38 +03:00
Alibek Omarov d3248aad66 scripts: waifulib: clean legacy Android definitions 2021-12-15 17:40:24 +03:00
Alibek Omarov 000c594596 scripts: waifulib: disable -no-canonical-prefixes for new NDKs 2021-12-15 17:37:31 +03:00
Alibek Omarov 960a8959d5 github: download ndk directly instead of sdkmanager because sdkmanager sucks and ships ndk 22 2021-12-14 23:23:52 +03:00
Alibek Omarov dc186c3cba github: build android with NDK compiler 2021-12-14 23:03:31 +03:00
Alibek Omarov a99e1ca509 Merge master into vulkan 2021-12-10 01:12:04 +03:00
Alibek Omarov 3a8a7f290d ref_vk: wscript: split rtx shaders into new build target for specific glslc flags 2021-12-10 01:01:28 +03:00
Alibek Omarov 29bc0392ee scripts: compiler_optimizations: disable clang thread-safe statics 2021-12-07 09:03:51 +03:00
Alibek Omarov 054765232e waifulib: xcompile: add NDK 23 support 2021-12-07 09:03:20 +03:00
Alibek Omarov 28b49e00e5 scripts: continious_upload: remove unused Travis CI support 2021-11-27 06:34:22 +03:00
Alibek Omarov 1e6be598e9 TravisCI is dead too\! 2021-11-27 06:27:52 +03:00
Alibek Omarov 155e15939b scripts: continious_upload: remove unused Artifactory support (JFrog is dead\!) 2021-11-27 06:25:35 +03:00
Alibek Omarov 3f014fde73 scripts: continious_upload: upload to original transfer.sh 2021-11-27 06:24:13 +03:00
Alibek Omarov 66db69862f cirrus: build all renderers available, remove unsupported -W flag for waf configure 2021-11-27 06:23:07 +03:00
Alibek Omarov fc665527ae wscript: try to fix install on windows 2021-11-27 06:04:26 +03:00
Alibek Omarov 576f0a72c5 scripts: install with destdir option on CI 2021-11-25 16:57:02 +03:00
Ivan Avdeev ec7f65462f add the same timeouts to transfersh 2021-10-31 17:27:22 -07:00
Ivan Avdeev b7529fecdd try to address frequent CI timeouts
#169

- Set the total curl upload timeout to one minute. If we're uploading
  for longer than one minute, something is really broken.
- Retry 5 times.
- Max wait 10 seconds for connection to be established.
- If transfer speed is lower than 16KiB/s for longer than 10 seconds,
  abort (this is the most frequent reason for CI stall, xfer speed drops
  to zero and stays that way for hours)
2021-10-31 17:27:22 -07:00
Ivan Avdeev 03a7c00f06 do not upload vulkan_sdk.exe in CI builds 2021-10-14 10:17:05 -07:00
Ivan Avdeev 69cddf1767 Merge remote-tracking branch 'upstream/master' into vulkan 2021-10-13 12:36:11 -07:00
Alibek Omarov 8bbd0d5119 ci: let's have a copy of original uploadtool instead of unsafe curl | sh 2021-10-03 03:53:06 +03:00
Alibek Omarov ade0fd4afa ci: stop generating vc2008 project files
If somebody needs them, they can revert this comment and send a PR
Or better use official msvs.py tool
2021-10-02 04:05:52 +03:00
Alibek Omarov f5ccf093d6 scripts: waifulib: fix build with sanitizers on 2021-09-30 15:58:50 +03:00
Ivan Avdeev 316e77df78 rtx: add alpha mask transparency 2021-07-14 11:54:21 -07:00
Ivan Avdeev d1fe897966 Merge remote-tracking branch 'origin/vulkan' into amd_ray_tracing_fixes 2021-07-12 09:45:26 -07:00
Ivan Avdeev 300bd1795c add vulkan-sdk to gha deps 2021-07-11 10:52:14 -07:00
Ivan Avdeev 552e902a03 Merge remote-tracking branch 'upstream/master' into merge-master 2021-07-11 10:33:23 -07:00
Ivan Avdeev c51d593679 rtx: get ray tracing pipeline to draw at least something
on amd gpus it won't draw anything at all unless you have the entire ray tracing pipeline set up fully and correctly:
- have at least rgen, rmiss and rchit shaders
- set up shader groups to reference them
- set up sbt to reference shader groups
it is not enough to just have a single rgen shader operating like a compute shader. amd will have a shader preamble that checks for something and exit early w/o actually running any shader code you wrote

meh
2021-07-06 11:28:24 -07:00
Ivan Avdeev 364b46ea87 [WIP] rtx: first build with ray tracing pipeline and black screen 2021-07-05 13:24:57 -07:00
Alibek Omarov affc64c6da gha: don't install unneeded multilib packages for amd64 2021-07-03 23:18:14 +03:00
Alibek Omarov #SupportRMS 21a31ec81d
ci: migrate to GitHub Actions
* travis: disable build, disable deploy, add free aarch64/ppc64le/s390x builds

* scripts: cleanup of old CI scripts

* scripts: now port to GitHub Actions

* actions: fix extras checkout

* github: remove codeql action, turned out not to be very useful

* github: remove quiet flag on wget

* github: are we allowed to use envvars?

* github: add needed dependencies for linux

* github: install wget for windows

* scripts: convert our CPU architecture naming into what AppImage uses

* github: run scripts with bash explicitly

* github: first try to upload to GitHub Releases, enable amd64 win32 builds

* Use our uploadtool fork

* ci: include android, motomagx build for gha, refactor cirrus and travis ci scripts

* gha: try to fix build

* travis: try to fix build

* gha: try to fix upload, fix win32 build

* gha: use curl instead of wget, as it's preinstalled for windows. Fix Android build

* gha: add llvm repository, install clang-12 for android

* gha: motomagx: fail fast

* gha: android: explicitly set clang-12 as compiler and llvm-strip-12 as strip

* waifulib: xcompile: respect environment variables when using host compiler for Android

* waifulib: xcompile: use correct environ dict

* gha: try to fix -fuse-ld=lld with clang-12

* waifulib: xcompile: fix typo

* scripts: xcompile: fix motomagx build

* mainui: upgrade

* gha: fix android build, last time

* engine: wscript: disable crashhandler for magx
2021-07-03 20:21:09 +03:00
Ivan Avdeev a004656b57 ref_vk: remove verbose ci info; fix win23 func ptr 2021-06-07 12:05:47 -07:00
Ivan Avdeev 333d7b6825 7z ftw 2021-06-07 11:20:02 -07:00
Ivan Avdeev 87d9b2ed0e --//-- 2021-06-07 10:57:29 -07:00
Ivan Avdeev 1b3b4e51cd ... why 2021-06-07 10:42:41 -07:00
Ivan Avdeev 1437f6bb35 ref_vk: ci/win32: debug-print vulkan sdk install dir 2021-06-07 10:25:46 -07:00
Ivan Avdeev fd11b00469 ref_vk: add more debug around VULKAN_SDK for CI 2021-06-07 10:14:04 -07:00
Ivan Avdeev cb7fb0a1c5 ref_vk: attempt to fix win32 glslc path 2021-06-07 09:55:33 -07:00
Ivan Avdeev 762a29c535 ref_vk: use more official method of geting vulkan sdk on windows 2021-06-07 00:15:40 -07:00
Ivan Avdeev 931de39f23 ref_vk: try to add vulkan sdk installation on windows 2021-06-06 23:56:24 -07:00
Ivan Avdeev f61fbe7d8b Merge branch 'master' into linux-and-other-fixes 2021-06-06 23:48:50 -07:00
Ivan Avdeev f66ad420eb travis: update to 18.04, as it is the earliest supportef by vulkan sdk 2021-06-06 21:40:18 -07:00
Ivan Avdeev 04732eeb59 travis: remove libvulkan-dev, fix arch 2021-06-06 21:15:57 -07:00
Ivan Avdeev 844eedba93 attempt to add vulkan linux deps for travis 2021-06-06 21:00:24 -07:00
Alibek Omarov #SupportRMS 163225e180
travis: android: switch to mobile_hacks hlsdk 2021-05-26 18:18:22 +03:00
SNMetamorph 1a5b2576f7 wscript: added support for "Edit and Continue" MSVC feature 2021-04-30 16:12:08 +03:00
Alibek Omarov #SupportRMS 9ea45a71f5
scripts: rename win32 build to xash3d-win32-vc.7z 2021-03-26 17:57:51 +03:00
Alibek Omarov accacd54f5 waifulib: set debug builds to be built with -O0, gcc -Od is broken 2021-03-11 20:17:39 +03:00
Alibek Omarov c0db39594b scripts: enable building utils for PC platforms 2021-03-05 16:04:20 +03:00
Ivan Avdeev 9b8af6d28b shaders: add compute shaders; fix shaders install dir 2021-03-01 23:34:20 -08:00
Ivan Avdeev dc71afd08a Merge remote-tracking branch 'upstream/vulkan' into vulkan-glslc 2021-03-01 23:22:40 -08:00
Alibek Omarov b278751834 waf: upgrade to waifu 1.1.0 2021-02-28 15:39:22 +03:00
SNMetamorph 932fc8e3c7 wscript: fixed MSVC optimization flag in debug mode 2021-02-20 14:22:20 +03:00
Alibek Omarov 074e4fd540 glslc: rework tool, support dependency scan, preliminary work on making tool dependless from compiler(like ccroot) 2021-02-10 03:51:11 +03:00