Commit Graph

13 Commits

Author SHA1 Message Date
takase1121 43643a16c0
fix(ci,build.sh): un-hardcode lua subproject detection 2023-11-30 11:24:42 +08:00
Takase a44a7eafe8
Cross compiling improvements + macOS universal binary (#1458)
* chore(resources): rename macos_arm64.txt to macos-arm64.txt
   This matches the platform-arch convention like many other parts of the project.
* chore(resources/cross): rename wasm.txt to unknown-wasm32.txt
* refactor(scripts/common.sh): use parameter expansion instead of if else
* feat(scripts/common.sh): support custom arch and platform for get_default_build_dir
* feat(scripts/build.sh): add --cross-platform, --cross-arch and --cross-file
* feat(scripts/package.sh): add --cross-platform and --cross-arch
* feat(build-packages.sh): add support for new options in build.sh and packages.sh
* ci(build): make arm64 binaries in CI
* ci(build): do not install external libraries
* ci(build): fix invalid artifact name
* ci(build): fix INSTALL_NAME
* ci(build): change name for macos artifacts
* ci(build): add script to build universal dmgs from individual dmgs
* ci(build): build universal dmgs
* fix(make-universal-binaries): fix wrong path for hdiutil
* ci(build): rename macos action
* fix(make-universal-binaries.sh): fix wrong pathname for ditto
* ci(release): build macos universal binaries
* ci(release): remove useless variables
* ci(release): fix wrong dependency
* ci(build): fix old ubuntu version
   This version will be restored once I complete some container-specific fixes.
* ci(build): make build_macos_universal depend on release
* ci(build): fix wrong dmg dir
* style(ci): capitalize 'universal' for CI name
* fix(make-universal-binaries.sh): fix truncated dmg name when it contains dots
* ci: styling changes
* ci(release): install appdmg only
2023-08-19 12:42:31 +08:00
Takase 84aeea61c2
Optimizing MSYS2 CI (#1435)
* feat(ci): install dependencies on setup
* fix(ci): don't update msys2 when setup
* fix(ci): download subprojects before patching
* doc(ci): document why meson subprojects download is called
2023-08-19 12:41:56 +08:00
jgmdev b8eb6865a6
gh workflow: fix path to macOS arm64 cross file 2023-08-19 12:30:41 +08:00
vkedwardli 1590be8c8d
macOS: `-mmacosx-version-min` is required for setting min version (#1192)
* Set `MACOSX_DEPLOYMENT_TARGET` also
2022-11-10 02:16:28 -04:00
jgmdev a619054951 scripts build: properly detect if cross-compiling 2022-10-30 19:05:17 -04:00
Jefferson González d89d1e6d98
ci release: add macos arm64 support (#1179) 2022-10-30 11:48:20 -04:00
Jefferson González 9f1294fea2
Added Release Workflow and Fixed some build script issues (#1013)
* ci linux: make builds properly static
* test workflow_dispatch
* install wayland-protocols
* append missing portable
* make debug builds by default
* auto enable some video subsystems for proper wayland support
* added release workflow
* make line shorter in innosetup bash script
* disable some video subsystems on darwin and windows
* fix default build dir on msys
* print output of ntldd
* properly set msys arch
* disable opengl on windows
* copy mingw dependencies on package
* innosetup script copy from generated package dir
* changed license to reflect team work
* adjusted the ci windows install name
* add all language plugins to addons
* disabled generation of source tarballs
* removed language_cpp from plugins repo
* enabled lua utf8 patch for windows build
* added open_ext to addons
* moved away from deprecated virtual environments
* make minimal build and with addons
* simplified CI build.yml
2022-09-25 16:59:01 -04:00
jgmdev 3c682512e7 build script: fix lua subproject expansion 2022-06-17 11:04:53 -04:00
takase1121 bccc02743a
add option to patch lua with UTF8 support 2022-06-16 13:35:38 +08:00
Francesco Abbate f69e42a43c Bring back pgo option in new build package script 2021-09-05 15:43:22 +02:00
redtide 38d85f2483 Adapt all scripts to work together with build-packages.sh 2021-09-05 15:23:08 +02:00
redtide 904214378d CI and custom build script utilities
- macOS DMG image using AppDMG with custom background
- Linux AppImage
- Windows MSYS2 packaging
- Source code tarball including subprojects source code
- LHelper compatible build script
2021-08-12 22:07:38 +02:00