2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-22 01:45:19 +01:00
Commit Graph

342 Commits

Author SHA1 Message Date
fgsfds
f7489a3747 scripts: nswitch: it's arm64, not aarch64 2023-02-08 01:04:31 +01:00
fgsfds
69607d7890 nswitch: do not link libstdc++ into dynamic libraries
instead only link it to the main executable with --whole-archive, letting the dynamic libs import anything they want from it
2023-02-08 00:52:48 +01:00
fgsfds
0ee2fd8a8a ci: nswitch: do not dumb, 00 penalty 2023-02-07 20:52:23 +01:00
fgsfds
080b9b30a1 ci: nswitch: do not put the pkgtemp folder into the .7z 2023-02-07 20:45:42 +01:00
fgsfds
749ac5ed54 ci: nswitch: do not rely on dkp-pacman at all 2023-02-07 20:38:40 +01:00
fgsfds
6c8b9af6bb ci: nswitch: fix artifact packaging 2023-02-07 20:35:24 +01:00
fgsfds
07922c0239 ci: nswitch: actually set env vars properly 2023-02-07 20:26:24 +01:00
fgsfds
430c51b71a ci: nswitch: there is no python-is-python3 where we're going 2023-02-07 20:14:11 +01:00
fgsfds
20bcd03f19 ci: nswitch: ...and set it to be the default python install 2023-02-07 20:07:48 +01:00
fgsfds
dab959fc32 ci: nswitch: the docker container is missing python, install it 2023-02-07 20:04:36 +01:00
fgsfds
eff75e5d50 ci: nswitch: the docker container is missing dkp-toolchain-vars, install it 2023-02-07 20:00:49 +01:00
fgsfds
d103f022b4 ci: nswitch: forgot run 2023-02-07 19:55:33 +01:00
fgsfds
72b8246969 ci: nswitch: attempt to use dkp's docker image
because they banned the ci server from accessing their pacman repo
2023-02-07 19:54:00 +01:00
fgsfds
030d05f018 ci: nswitch: make install with sudo 2023-02-07 18:38:18 +01:00
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
87c307f47e scripts: flatpak: install vgui 2023-02-05 04:27:58 +03:00
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
a610b1545b scripts: flatpak: check .local directory for steam library 2023-02-05 03:44:58 +03:00
30b698067a scripts: flatpak: allow easy debugger attach 2023-02-05 03:25:07 +03:00
f63f1a0dc6 scripts: flatpak: add another default Steam library path 2023-02-05 02:43:36 +03:00
00ddd95c27 scripts: flatpak: try to add ourselves to desktop menu entries 2023-02-05 02:25:21 +03:00
f3ff942ea9 scripts: flatpak: add basic i386 flatpak script 2023-02-01 04:58:12 +03:00
ae66291272 scripts: compiler_optimizations: added MSan target 2023-01-31 04:28:08 +03:00
2705e77a4e ci: don't spew config.log when it's not needed, less verbosity 2023-01-14 10:06:32 +03:00
256fe7ede9 scripts: make sure to test filesystem on CI 2022-12-27 02:31:46 +03:00
aa702f0678 scripts: waifulib: xcompile: add msvc-wine support in cross-compile helper script 2022-11-16 04:19:46 +03:00
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
b56f6fa330 scripts: waifulib: fix zipfile init for older Python 2022-09-11 02:50:52 +03:00
807f3852bd scripts: gha: remove building extras.pak, as it's already being built 2022-09-11 02:20:36 +03:00
084089b919 3rdparty: extras: build ZIP archive and install to engine default gamefolder 2022-09-11 02:13:23 +03:00
686a966ff7 wscript: now waf builds extras archive by itself, using Python standard library's zipfile 2022-09-11 01:39:29 +03:00
9d49985100 scripts: gha: build tarball for dedicated server 2022-08-25 19:40:27 +03:00
44cd03f464 wscript: refactor opus wscript files, now it builds only if system package wasn't found 2022-08-18 04:46:11 +03:00
2b9e050f57 engine: voice support 2022-08-18 04:46:11 +03:00
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
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
f63dd72260 scripts: gha: fix including vgui.dll 2022-06-12 04:16:41 +03:00
efdf9e3599 scripts: gha: include activities.txt on win32 continious builds 2022-05-30 02:35:06 +03:00
654bac83a5 scripts: do not upload branches as main continious prerelease 2022-03-20 06:38:46 +03:00
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
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
f1a4d66d27 scripts: waifulib: remove nooptimize build type, use debug instead. Disable optimization for sanitize builds 2022-01-04 01:58:45 +03:00
b7a32f6843 scripts: gha: install deps on aarch64 2021-12-31 05:29:11 +03:00
7a0a355baf github: grab artifacts by wildcard rather than a list 2021-12-17 04:38:23 +03:00
a4be009ce7 scripts: waifulib: disable stpcpy builtin for API level <21 2021-12-17 03:15:38 +03:00
d3248aad66 scripts: waifulib: clean legacy Android definitions 2021-12-15 17:40:24 +03:00
000c594596 scripts: waifulib: disable -no-canonical-prefixes for new NDKs 2021-12-15 17:37:31 +03:00
960a8959d5 github: download ndk directly instead of sdkmanager because sdkmanager sucks and ships ndk 22 2021-12-14 23:23:52 +03:00
dc186c3cba github: build android with NDK compiler 2021-12-14 23:03:31 +03:00
29bc0392ee scripts: compiler_optimizations: disable clang thread-safe statics 2021-12-07 09:03:51 +03:00
054765232e waifulib: xcompile: add NDK 23 support 2021-12-07 09:03:20 +03:00
28b49e00e5 scripts: continious_upload: remove unused Travis CI support 2021-11-27 06:34:22 +03:00
1e6be598e9 TravisCI is dead too\! 2021-11-27 06:27:52 +03:00
155e15939b scripts: continious_upload: remove unused Artifactory support (JFrog is dead\!) 2021-11-27 06:25:35 +03:00
3f014fde73 scripts: continious_upload: upload to original transfer.sh 2021-11-27 06:24:13 +03:00
66db69862f cirrus: build all renderers available, remove unsupported -W flag for waf configure 2021-11-27 06:23:07 +03:00
fc665527ae wscript: try to fix install on windows 2021-11-27 06:04:26 +03:00
576f0a72c5 scripts: install with destdir option on CI 2021-11-25 16:57:02 +03:00
8bbd0d5119 ci: let's have a copy of original uploadtool instead of unsafe curl | sh 2021-10-03 03:53:06 +03:00
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
f5ccf093d6 scripts: waifulib: fix build with sanitizers on 2021-09-30 15:58:50 +03:00
affc64c6da gha: don't install unneeded multilib packages for amd64 2021-07-03 23:18:14 +03:00
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
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
9ea45a71f5
scripts: rename win32 build to xash3d-win32-vc.7z 2021-03-26 17:57:51 +03:00
accacd54f5 waifulib: set debug builds to be built with -O0, gcc -Od is broken 2021-03-11 20:17:39 +03:00
c0db39594b scripts: enable building utils for PC platforms 2021-03-05 16:04:20 +03:00
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
d6d90f03a0 wscript: refactoring, split optimization flags selection and fpic control into standalone modules 2021-01-29 03:33:14 +03:00
Gleb Mazovetskiy
23998ef720 makepak.py: Skip all filenames starting with .
This makes it much simpler to define a buildroot package for xash-extras
buildroot places various buildroot-internal dot files in the package build directory
2020-12-30 14:40:32 +03:00
Gleb Mazovetskiy
b40344f1f0 travis: unzip quietly
Helps avoid the following error message:

> The job exceeded the maximum log length, and has been terminated.

(e.g. https://travis-ci.org/github/FWGS/xash3d-fwgs/jobs/751744736)
2020-12-28 13:09:01 +03:00
9acedb3408 travis: restore unzipping file 2020-11-29 19:45:05 +03:00
ede9e5095d
travis: fix getting android deps 2020-11-28 23:22:57 +03:00
f2120672d0 travis: update android sdk level 2020-11-28 01:30:55 +03:00
d3ab2023ae travis: combine downloading zip file and unpacking it 2020-11-28 01:30:55 +03:00
f60c398f32 scripts/xcompile/android: add ability to specify HOST_TOOLCHAIN and override hard-coded one 2020-11-18 12:34:38 +03:00
Alexey
fff71e449e Fix android travis build again 2020-08-24 19:08:38 +03:00
a5e3a74e93 waf/xcompile: gnu hash on android confuses old linkers 2020-07-08 02:40:43 +07:00
17cf4bf402 scripts: travis: we're NOT moved to GitHub Releases 2020-02-28 09:13:33 +03:00
e3d9ac4840 scripts/xshlib: line endings fix 2020-02-25 13:35:55 +02:00
0ee5ff3aad waifulib/owcc: add -xx to ignore default includes 2020-02-12 17:39:42 +07:00
a0d09c9954 lib_static: fix warnings 2020-02-08 23:39:35 +07:00
828def3b25 waifulib: owcc tool 2020-02-08 23:15:40 +07:00
97228a4249 lib_static: use functions for exports instead of globals 2020-02-08 23:15:40 +07:00
22dc5b7416 Merge branch 'lib' of https://github.com/FWGS/xash3d-fwgs 2020-01-18 07:15:45 +07:00
7dde4c03a7 scripts: enable mobile_hacks HLSDK branch for MotoMAGX 2019-12-03 03:49:47 +03:00
dd3fcb6461 scripts: fix android travis build 2019-12-03 02:58:03 +03:00
2ee7367567 scripts: don't symlink engine and hlsdk sources on Android as -sl 2019-12-02 02:15:25 +03:00
6f58ef2394 scripts/xshlib: code clean 2019-11-18 21:08:03 +07:00
177f8ed653 platform: introduce lib backends, add static linking, wscript: add optional projects support, add static linking support, scripts: add xshlib for advanced linking options 2019-11-18 03:31:55 +07:00
611ee64cd9 scripts: build_motomagx_engine: use waf install now, as HLSDK now supports library naming scheme 2019-11-11 04:14:18 +03:00
f09682131f travis: fix magx deploy 2019-11-07 08:41:10 +03:00
32ddc2a47f waifulib: xcompile: we need to disable builtins even on armeabi with host compiler and NDK r10e 2019-11-07 07:30:41 +03:00
5bae732818 scripts: build ref_soft for magx 2019-11-07 05:15:45 +03:00
08b3de08e7 wscript: use SINGLE_BINARY on motomagx 2019-11-07 05:07:28 +03:00
d68823708f scripts: include run.sh script for magx 2019-11-07 05:01:16 +03:00
94c42160b7 travis: enable CI for motomagx 2019-11-07 02:46:04 +03:00
6bc6f0dd70 scripts: run windows builds verbose 2019-11-05 09:41:58 +03:00
94dc801150 scripts: remove single-binary for xashds, as it already set implicitly. 2019-10-18 07:45:05 +03:00
cf35943f51 scripts: build_freebsd_engine: remove building SDL2, as it will be installed from ports, use /bin/sh as interpreter 2019-10-18 07:13:48 +03:00
cd715178d2 scripts: set executable flags when needed 2019-10-18 07:05:16 +03:00
e0e9942bd5 waifulib: remove modules that now part of waifu distribution 2019-10-18 05:14:01 +03:00
a38f561d7c ci: use SDL2 zip source archive 2019-10-16 02:18:12 +03:00
83d3c02e53 ci: add Cirrus CI support with FreeBSD 2019-10-16 02:09:47 +03:00
ee363ebb74 waifulib: fix including system includes 2019-10-11 10:04:32 +03:00
2183240221 waifulib: xcompile: fix aarch64 binary installation 2019-10-09 05:52:43 +03:00
9fd7e333df travis: another blind try to fix r10e unpack 2019-10-09 04:37:38 +03:00
f33de46508 travis: verbose 7z x for r10e ndk 2019-10-09 04:08:34 +03:00
9ea973dad6 waifulib: xcompile: fix C++ with host toolchain 2019-10-09 03:48:51 +03:00
53d2d10932 travis: add Android 64 and Android hardfp experimental builds 2019-10-09 02:34:30 +03:00
02e111c5e1 waifulib: xcompile: fix clang detection 2019-10-05 03:35:11 +03:00
5a8de90918 waifulib: xcompile: light refactoring 2019-10-05 01:16:20 +03:00
2d6b770e7c waifulib: xcompile: allow building with host Clang and NDK r10e sysroot 2019-10-04 22:21:11 +03:00
b777ba9549 scripts: comment out github releases deployment until github fixes itself 2019-09-29 18:39:33 +03:00
bc39b707d4 Revert github repository deploy removal 2019-09-29 18:38:31 +03:00
fd8c1becec waifulib: gcc-6 support for android 2019-09-28 04:26:19 +07:00
8f47596ad0 waifulib: xcompile: append SONAME to shared libraries, experimental support for host compiling with NDK r10e(don't work), replace exceptions with fatal messages 2019-09-21 03:52:47 +03:00
4f4c63b1dd waifulib: xcompile: enhance compiling using host clang, refactoring 2019-09-20 18:49:37 +03:00
66323fe9ca waifulib: xcompile: preserve order of MACROS_TO_DESTOS, add -stdlib=libstdc++ to use system provided C++ standard library 2019-09-20 16:30:17 +03:00
16e60bbb5f waifulib: xcompile: use llvm-strip on host 2019-09-19 18:18:42 +03:00
0389d2495f waifulib: strip_on_install: add changed bytes counter 2019-09-19 18:18:25 +03:00
cd0f7af38a waifulib: xcompile: get rid of DEST_OS2 2019-09-19 17:09:18 +03:00
ac1bf4a9f8 waifulib: strip_on_install: fix typo 2019-09-12 17:00:08 +03:00
af0046f401 waifulib: strip_on_install: don't strip on PE and unknown binaries [ci skip] 2019-09-11 20:37:47 +03:00
43575b485d wscript: add an option to not strip binaries 2019-09-11 20:26:34 +03:00
67c6cfce71 waf: strip installed binaries to reduce size 2019-09-11 18:47:44 +03:00
d1ac48b2a1 waifulib: allow compiling using host clang and NDK sysroots, thus enabling building engine from any environment that has clang(termux as example) 2019-09-10 11:24:11 +06:00
143310bdb7 travis: android: make it more quiet 2019-07-29 08:31:38 +03:00
dc8b8ccab3 travis: android: accept all licenses 2019-07-29 08:27:11 +03:00
e3c095a3fa travis: specify android version 2019-07-29 08:20:05 +03:00
61f49938e5 travis: build for android, not publish until touch controls are not done 2019-07-29 08:10:04 +03:00
d697421d81 scripts: waifulib: add ndk r20 support 2019-07-29 06:54:05 +03:00
53eb569216 scripts: fix linux build again 2019-07-27 15:33:03 +03:00
7c8105247c scripts: allow building dedicated, rename appimage to lower-case, fix warnings found by shellcheck 2019-07-27 14:49:01 +03:00
e3e161f281 scripts: explicitly name appimage 2019-07-27 13:49:37 +03:00
a5593963c5 scripts: fix amd64 build 2019-07-26 17:25:46 +03:00
1636d36dc2 travis: try to fix linux builds #2 2019-07-25 04:56:59 +03:00
9bb2870e38 travis: try to fix travis 2019-07-21 12:40:47 +03:00
827105405f travis: enable building and publishing for AMD64. Use at your own risk! 2019-07-20 05:07:22 +03:00
baefab7e3d travis: remove repository deployment 2019-07-09 15:43:30 +03:00
8b94443ba2 scripts: travis: make PRs succeed, add a note about moving to GitHub Releases 2019-07-08 19:10:49 +03:00
0366035237 travis: add github releases uploader (#47) 2019-07-01 00:40:52 +03:00