Commit Graph

24 Commits

Author SHA1 Message Date
Takase a97de87d86
feat(subprojects): update wraps (#1577)
* feat(subprojects): update SDL2 wrap

* fix(meson.build): add sdl2main as dependency on Windows

* fix(meson.build): don't load sdl2main on non-Windows platforms

* feat(subprojects): update freetype version

* feat(subprojects): update pcre2 to latest version

* feat(subprojects): update lua to latest version

* feat(lite_xl_plugin_api): add lua_closethread to symbols list

* fix(meson.build): fix meson error with features and booleans

* fix(meson.build): fix wrong variable name

* feat(subprojects): update wraps again

* ci(build): fix lua subproject not found

* ci(build): use awk instead of grep and sed
2023-11-29 10:08:23 -05:00
Takase 5d5cab1ee4
refactor(build): use dmgbuild to create dmgs (#1664)
* refactor(appdmg): make dmgs with dmgbuild

* fix(appdmg.sh): typo

* refactor(appdmg.sh): don't generate config on the fly

* fix(dmgbuild): icon file

* fix(gitignore): dmgbuild settings

* chore(resources): update readme with new files

* chore(resources/macos): add missing newline
2023-11-10 02:44:58 +01:00
Takase a4561e76ad
ci: fix diff files having "wrong" path separator (#1648)
* ci: fix diff files having "wrong" path separator

* ci(build): use git bash to apply patches

* ci(build): fix step wording

Co-authored-by: Guldoman <giulio.lettieri@gmail.com>

---------

Co-authored-by: Guldoman <giulio.lettieri@gmail.com>
2023-10-20 03:09:51 +02:00
Takase 397973067f
ci(release): use lite-xl org (#1571) 2023-08-05 03:00:17 +02:00
takase1121 f172e1366d ci(build): update action dependencies 2023-04-19 09:15:00 +08:00
Takase 0cf47fec5d
Build releases with Ubuntu 18.04 container (#1460)
* ci(release): try using lite-xl-build-box

* ci(build): test with my own fork

* ci(build): do not install python via actions

* ci(build): disable package updates

* fix(scripts/appimage.sh): add workaround for non-FUSE environments

* ci(build): document why the actions are disabled

* ci(release): fix typo
2023-04-16 15:18:40 +02:00
Takase 702c7a9eb3
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-04-11 11:33:34 -04:00
Takase 7eaa85848c
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-04-07 13:25:31 -04:00
Takase 1c01d6c296
fix(CI): bump dependency versions (#1434)
* refactor(ci): use microsoft/setup-msbuild
* fix(ci): fix wrong option name for setup-msbuild
* fix(ci): bump setup-python version
* fix(lua-utf8-patch): enable support for windows vista and above
* fix(ci): use vs backend
* fix(ci): reconfigure project manually after patch
* fix(ci): add a separate build step
* fix(ci): use msvc-dev-cmd again
2023-04-07 13:24:27 -04:00
jgmdev 8aa97291fe gh workflow: fix path to macOS arm64 cross file 2023-01-25 17:28:34 -04:00
Jefferson González 3491eb464d
Bump version to 2.1.1 (#1284)
* updated wraps
* updated release date
2022-12-28 22:03:36 -04:00
Takase 4107b0c3fe
MSVC Support (#1199)
* fix stdalign and min/max for MSVC
* add missing ISREG and ISDIR for MSVC
* use MAX_PATH instead of PATH_MAX
* remove unecessary headers inclusion
* add MSVC CI
* add appropriate macros to platform detection
* re-add msvc CI artifacts
* upload the generated artifacts
* patch lua for MSVC CI builds
* update patch for MSVC compatibility
2022-11-15 23:23:45 -04:00
Jefferson González d89d1e6d98
ci release: add macos arm64 support (#1179) 2022-10-30 11:48:20 -04:00
jgmdev ec6d0532c8 release: linux build in ubuntu 18.04 fixes #1147
This change also properly fixes the double release creation issue due to
the upload files process not sepcifying the draft flag.

Also added update tag step so the tag gets updated to latest commit and
is easier to kick new builds for pre releases without having to create a
new release.
2022-10-11 00:02:12 -04:00
jgmdev e0e928c31e gh workflow: don't make release on tag pushes to prevent double release when executed from github web interface. 2022-09-25 18:20:08 -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
Jan200101 065fe07696
Add auto labeler workflow 2021-10-25 19:29:31 +02:00
redtide 38d85f2483 Adapt all scripts to work together with build-packages.sh 2021-09-05 15:23:08 +02:00
redtide 48ab8c9836 GitHub Actions builds and deployment 2021-08-13 16:24:53 +02:00
redtide 0ed707c68f InnoSetup build scripts 2021-07-13 23:41:32 +02:00
Francesco c2775b496c
Use explicit dispatch to trigger CI builds 2021-05-01 22:56:04 +02:00
Francesco Abbate cec302c04e github actions: Do not use gcc to compile on Mac OS 2021-04-27 17:49:24 +02:00
Francesco Abbate 6fb7ecbe96 Configure github actions for linux and macosx 2021-04-13 23:43:58 +02:00
Robert Štojs ed6ba64542
Remove Travis in exchange for Github Actions (#132) 2021-03-26 14:55:53 +01:00