Commit Graph

176 Commits

Author SHA1 Message Date
Tim Stack
8106626c91 [bins] add manpage
Related to #1176
2024-04-07 07:52:07 -07:00
Tim Stack
b33713904e [schemas] anchor patterns in the config/format json schemas
Also, add a check-local that runs a third-party validator
on the builtin configs/formats.
2024-04-02 09:53:58 -07:00
Tim Stack
c497dc49f1 Revert "[build] try to build macos-12-arm64"
This reverts commit e08f53f1a6.
2024-04-01 08:42:40 -07:00
Tim Stack
e08f53f1a6 [build] try to build macos-12-arm64 2024-04-01 08:30:19 -07:00
Tim Stack
dee87e5436 [actions] disable arm build for now 2024-03-29 13:53:55 -07:00
Tim Stack
857d3c036f [build] add cargo to musl builder 2024-03-25 22:54:33 -07:00
Tim Stack
03a17ef226 [muslbuilder] try to fix curl build 2024-02-01 10:21:51 -08:00
Tim Stack
f17d9c157b [muslbuilder] re-order the packages to put more frequently updated ones last 2024-02-01 10:07:08 -08:00
Tim Stack
fd053ee2f7 [build] fix arm package step 2024-01-31 22:00:11 -08:00
Tim Stack
eea3fcdb59 [muslbuilder] add zip in the right place 2024-01-31 21:29:13 -08:00
Tim Stack
c48322b23f [muslbuilder] re-add zip, needed for packaging 2024-01-31 14:40:04 -08:00
Tim Stack
84ce978e20 [muslbuilder] bump zlib version 2024-01-31 08:19:36 -08:00
Tim Stack
733366e285 [muslbuilder] bump sqlite version 2024-01-31 07:30:22 -08:00
Tim Stack
c1a43d5dce [msys-build] add crypt32 lib... 2023-12-11 13:37:23 -08:00
Tim Stack
e9dbe4117f [build] tweak macos link 2023-09-25 09:28:28 -07:00
Tim Stack
6fdb56cd4e [lss] handle invalid row number 2023-08-28 09:54:10 -07:00
Suresh Sundriyal
7e9bdfbfcd Revert "[build] Use cURL instaed of git to get lnav from the repository."
This reverts commit 3f33d9d17a.
2023-08-03 01:00:37 -07:00
Suresh Sundriyal
1b2e8acb9b [build] Fix the action description. 2023-08-02 23:10:44 -07:00
Suresh Sundriyal
51f8f8299c [build] Upload lnav binary after the workflow. 2023-08-02 22:43:32 -07:00
Suresh Sundriyal
d2d17ed7f0 [build] Updaate github checkout action.
Seems like `checkout@v2` is being deprecated. Update to v3.
2023-07-23 00:38:21 -07:00
Suresh Sundriyal
3a45802d7d Revert "[build] Link the built binaries from the previous layers."
This reverts commit eb0cdd2486.
2023-07-22 13:39:06 -07:00
Suresh Sundriyal
e005ac0d50 Revert "[build] Compile ncurses without gpm support."
This reverts commit 5d87712fa8.
2023-07-22 13:38:50 -07:00
Suresh Sundriyal
eb0cdd2486 [build] Link the built binaries from the previous layers. 2023-07-22 13:08:34 -07:00
Suresh Sundriyal
3507118371 [build] Stop linking libdl with curl and libssh2. 2023-07-22 13:08:34 -07:00
Suresh Sundriyal
5d87712fa8 [build] Compile ncurses without gpm support. 2023-07-22 13:08:34 -07:00
Tim Stack
239f717638 Revert "[build] update cosmo version"
This reverts commit 23a711041a.
2023-07-14 09:15:59 -07:00
Tim Stack
23a711041a [build] update cosmo version 2023-07-14 06:41:42 -07:00
Tim Stack
b5e19ef3b0 [tests] add some tests for recent additions
Add missing SQLite JSON functions to the help
Fix some DB UI issues
2023-07-13 21:56:22 -07:00
Suresh Sundriyal
3f33d9d17a [build] Use cURL instaed of git to get lnav from the repository. 2023-07-13 15:39:22 -07:00
Suresh Sundriyal
192f2de374 [build] Build ncurses without unnecessary artifacts. 2023-07-13 15:36:52 -07:00
Suresh Sundriyal
5490fee155 [build] Create Docker images with latest alpine. 2023-07-13 15:35:21 -07:00
Suresh Sundriyal
7904b5fdd4 [build] Do a multi-stage Docker build. 2023-07-12 23:03:36 -07:00
Suresh Sundriyal
992d14dcb1 [build] Remove --with-default-terminfo-dir directive.
This seems to be settting the install path for the terminfo. As a result
the terminfo doesn't seem to be written in to fake.root.
2023-07-12 19:47:48 -07:00
Suresh Sundriyal
bc42ea0c07 [build] Install ncurses packages on the build machine.
Ncurses requires the terminfo database and infocmp to be installed on
the build machine to configure the fallback entries.
2023-07-12 19:08:11 -07:00
Suresh Sundriyal
1fb471f4ba [build] Remove apk update.
Since we are passing in the `--no-cache` option to `apk add`; `apk
update` unnecessarily adds a local index; increasing the size of the
container image.
2023-07-12 17:38:09 -07:00
Suresh Sundriyal
0ece2e4ac6 [build] Update readline version. 2023-07-12 16:17:21 -07:00
Suresh Sundriyal
ed72362b50 [build] Remove libexecinfo dependency on musl builds.
muslc does not expose the frame related information to execinfo.
Compiling with libexecinfo on muslc builds doesn't really serve any purpose.
2023-07-12 16:07:19 -07:00
Suresh Sundriyal
c86081adcb [workflow] Reduce the frequency of md link checker workflow. 2023-07-12 14:35:17 -07:00
Suresh Sundriyal
3e6a695f68 [buid] Disable shared libraries on a few more components. 2023-07-12 10:02:55 -07:00
Suresh Sundriyal
7053efabb6 [build] Only compile shared versions of the library. 2023-07-11 16:17:55 -07:00
Suresh Sundriyal
969bc582a2 [build] Trim down Dockerfile
Remove the unnecessary packages and the ones that are already installed
as part of dependencies and meta-packages.

Also compile whatever we explicitly link against.
2023-07-11 10:06:41 -07:00
Suresh Sundriyal
b1c7fad50d [templates] Update release version in issues template. 2023-07-09 18:49:28 -07:00
Suresh Sundriyal
addc5fbca6 [build] Create shallow clones while doing local images. 2023-07-09 18:49:28 -07:00
Suresh Sundriyal
022a73d0ff [build/bins] Update paths-ignore
Ignore updates to container and issue changes.
2023-07-09 18:49:19 -07:00
Suresh Sundriyal
ff0b112728 [build] Optimize the Dockerfile
Optimize the Dockerfile according to the best practices described here:
https://docs.docker.com/develop/develop-images/dockerfile_best-practices/
2023-07-09 09:24:06 -07:00
Suresh Sundriyal
8628bba7e5 [build] Use registry cache to speed up container image builds
Use the registry cache as described here:
- https://docs.docker.com/build/ci/github-actions/cache/
- https://docs.docker.com/build/cache/
2023-07-09 09:23:13 -07:00
Suresh Sundriyal
22d4d6242d [build/concurrency] Only allow one musl-build-image job.
Two musl-build-image jobs can be triggered by two commits done within a
short amount of time. Since building the image times can vary; the job
with the previou commit might finish later; updating the docker hub with
an older commit.

This uses the `concurrency` directive to fix the issue. If another job
is running; they get cancelled and only the latest one spawned is run.
2023-07-08 23:05:21 -07:00
Suresh Sundriyal
881c19963b [build] Fix the ignore paths.
Try the syntax suggested here:
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-excluding-paths
2023-07-08 23:01:25 -07:00
Suresh Sundriyal
a3f55472ba [build] Replace the deprecated ghaction-docker-buildx
ghaction-docker-buildx has been merged with official docker action.
2023-07-08 20:45:42 -07:00
Suresh Sundriyal
1ec9fc8e22 [build] Remove unnecessary entries in the Dockerfile.
Cmake isn't used in the build script and make is installed on
the container image using apk and doesn't need to be compiled from
source.
2023-07-08 18:17:58 -07:00