Commit Graph

3029 Commits

Author SHA1 Message Date
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
Tim Stack
2bf03c3ded
Merge pull request #1172 from sureshsundriyal/master
[posts] Replace dead link with an archived link.
2023-07-08 16:49:40 -07:00
Suresh Sundriyal
9ff7564d20 [posts] Replace dead link with an archived link.
The link to linuxmagazine is dead. Replacing it with the last archived
link on the wayback machine.
2023-07-08 14:50:59 -07:00
Tim Stack
14f928070d
Merge pull request #1171 from sureshsundriyal/master
[build/arm] Add support for arm binary compilation in CI jobs.
2023-07-08 14:20:43 -07:00
Suresh Sundriyal
f4e666543d [build] Use strategy matrix to run arm builds. 2023-07-08 10:25:17 -07:00
Suresh Sundriyal
b22edd5a26 [build] Fix up aarch64 workflow.
Fix up the aarch4 workflow to use the docker-run-action and some minor
cleanup.
2023-07-08 09:31:19 -07:00
Suresh Sundriyal
a79689c286 [build] Use docker-run-action
Use docker-run-action to have more control of the emulated docker
container.
2023-07-08 09:31:19 -07:00
Suresh Sundriyal
0e2199f650 [build] Add support for armv7l & aarch64 builds. 2023-07-08 09:31:19 -07:00
Suresh Sundriyal
2489a79c24 [build] Use the newer musl container image.
Use the newer multi-platform musl container image and the correct
platform.
2023-07-08 09:31:12 -07:00
Tim Stack
44d8e0d2af [build] use TARGETPLATFORM instead 2023-07-07 19:23:40 -07:00
Tim Stack
c8fa534c7d [build] change the FROM in the Dockerfile 2023-07-07 19:02:19 -07:00
Tim Stack
bb0460ade5 [build] fix buildx cwd 2023-07-07 18:21:34 -07:00
Tim Stack
9c9bdfd5ff [build] automate making the lnav-build image 2023-07-07 18:19:37 -07:00
Tim Stack
981dfa3b46
Merge pull request #1170 from sureshsundriyal/master
[arm] Allow creating arm containers.
2023-07-07 18:07:35 -07:00
Tim Stack
898f6e0ad1 [tidy] close FDs and add FMT_STRING() 2023-07-07 16:19:27 -07:00
Suresh Sundriyal
9fe7f61f3f [container] Allow building a container for multiple platforms.
Take in the architecture as a build argument in the Dockerfile.

The various images can be built by passing in the ARCH build argument
while building the images:

```
* docker image build --build-arg ARCH=arm32v7 -t ... (arm32v7)
* docker image build --build-arg ARCH=arm64v8 -t ... (aarch64)
* docker image build  -t ... (amd64)
```

Re: #558
2023-07-07 13:27:50 -07:00
Suresh Sundriyal
00c03950fe [actions] Modify entrypoint.
Modify entrypoint to work in the absence of a `GITHUB_WORKSPACE`
environment variable.

This allows the containers to work locally.
2023-07-07 13:13:15 -07:00
Tim Stack
5b89b69e25 [piper] ignore stdin when it's a closed fifo 2023-07-07 07:08:45 -07:00
Tim Stack
42c9269d8d [piper] check for POLLHUP too 2023-07-06 23:29:02 -07:00
Tim Stack
0c9cf22acc [build] remove unused piper close() method 2023-07-06 20:47:35 -07:00
Tim Stack
5787f47767 [piper] replace piper_proc with a thread
Related to #1029
2023-07-06 20:05:30 -07:00
Tim Stack
e3f4330377 [build] add --platform to Dockerfiles 2023-07-03 13:54:50 -07:00
Tim Stack
cd4eddced2 [demo] update to v0.11.2 2023-07-03 09:18:42 -07:00
Tim Stack
9df36484f6 [build] bump doc version numbers 2023-07-02 22:25:50 -07:00
Tim Stack
3fefbbc821 [build] fix some final release glitches 2023-07-02 21:16:02 -07:00
Tim Stack
e04e3f5753 [build] fix rpm version for rc 2023-07-02 09:07:01 -07:00
Tim Stack
c575ba0a50 [build] fix rpm spec version 2023-07-01 07:19:32 -07:00
Tim Stack
0d40656ff6 [build] fix rpmbuild condition 2023-06-30 22:52:30 -07:00
Tim Stack
dd1bb8e25c [build] don't push to packagecloud always 2023-06-30 21:42:36 -07:00
Tim Stack
643dcdb6c8 [build] make rpm on tag 2023-06-30 21:39:39 -07:00
Tim Stack
bb6e525146 [build] fix rpm path 2023-06-30 15:02:07 -07:00
Tim Stack
acf8265e4b [build] fix branch name 2023-06-30 14:42:48 -07:00
Tim Stack
973f6dbf01 [build] try again to push to packagecloud 2023-06-30 14:41:12 -07:00
Tim Stack
37413a993f [build] push to packagecloud.io 2023-06-30 14:04:24 -07:00
Tim Stack
113014d48b [build] just add .gz 2023-06-30 13:02:24 -07:00
Tim Stack
05d0d263f5 [build] maybe fix ext_man usage 2023-06-30 13:00:20 -07:00
Tim Stack
81dcf83513 [build] man not found for some reason, remove for now 2023-06-30 12:45:12 -07:00
Tim Stack
d33db74d57 [build] more path probs 2023-06-30 12:25:35 -07:00
Tim Stack
29ef030d1d [build] bah, fix path 2023-06-30 12:21:23 -07:00
Tim Stack
5029ef8a38 [build] workaround annobin issue 2023-06-30 12:18:18 -07:00
Tim Stack
df0aa98025 [build] try gcc-12 2023-06-30 12:04:41 -07:00
Tim Stack
2a829008ba [build] add reqs for annobin 2023-06-30 11:52:22 -07:00
Tim Stack
40e7797828 [build] try to cat config.log 2023-06-30 11:42:21 -07:00
Tim Stack
2ebd73f8d6 [build] enable gcc-11 2023-06-30 11:28:17 -07:00
Tim Stack
adbccffd9c [build] fix gcc program name 2023-06-30 11:19:47 -07:00
Tim Stack
137df5f498 [build] fix var sub in spec 2023-06-30 11:15:45 -07:00
Tim Stack
a2992270ac [build] fix gcc name ... again 2023-06-30 11:11:37 -07:00
Tim Stack
861147739e [build] change gcc req 2023-06-30 10:45:24 -07:00
Tim Stack
a43e4f1a69 [build] remove scl repo 2023-06-30 10:44:34 -07:00
Tim Stack
3470a7683f [build] use fork of rpmbuild 2023-06-30 10:22:19 -07:00