Commit Graph

13 Commits

Author SHA1 Message Date
Maxim Ganetsky
69fd4ceb83 CI: temporarily disable automatic building of failing target i386-win32 (FPC 3.2.0) until the issue is resolved 2022-08-12 04:22:04 +03:00
Maxim Ganetsky
edc0363a39 CI: Enable automatic building of x86_64-gtk2 (FPC 3.2.2) and i386-win32 (FPC 3.2.0). This covers most cases (two widgetsets, two FPC versions, two bitnesses, two OS platforms). All other targets can be still run manually if desired.
The reason Qt widgetset was not enabled: high build times (24-25 min). Other targets take 4-5 min each and updating build environment image process takes 19 min.
2022-08-12 03:42:37 +03:00
Maxim Ganetsky
ff0ee07384 Rewritten CI configuration.
1. Added Dockerfile.buildenv to generate build environment image. It is based on Debian 11 x86_64 (contains GTK2, GTK3, Qt5 libraries and FPC (versions 3.2.0, 3.2.2) for x86_64-linux with x86_64-win64 and i386-win32 cross-compilers.

2. New CI configuration with jobs to build Lazarus with both FPC versions for x86_64-gtk2, x86_64-qt5, x86_64-win64, i386-win32. Also there is a job to update build environment image, which should be only run when Dockerfile.buildenv and/or FPC version constants in .gitlab-ci.yml file were updated.

All jobs were set to manual (don't trigger automatically) mode for now.
2022-08-12 03:26:45 +03:00
Maxim Ganetsky
a76721ce2e .gitlab-ci.yml: return to correct directory after installing compiler 2022-08-06 00:57:31 +00:00
Maxim Ganetsky
3cdf766f43 .gitlab-ci.yml: add diagnostic output 2022-08-06 00:47:33 +00:00
Maxim Ganetsky
d9a7f4f8a1 .gitlab-ci.yml: try 4 to fix job failure 2022-08-06 00:31:01 +00:00
Maxim Ganetsky
7cc5633856 .gitlab-ci.yml: add missing space character 2022-08-06 00:03:33 +00:00
Maxim Ganetsky
4d778a3487 .gitlab-ci.yml: try 3 to fix job failure 2022-08-05 23:57:59 +00:00
Maxim Ganetsky
3842d49c9f .gitlab-ci.yml: another try to fix job failure 2022-08-05 23:42:27 +00:00
Maxim Ganetsky
ff9be93e98 .gitlab-ci.yml: try to fix job failure by suppressing install.sh error output 2022-08-05 23:33:06 +00:00
Maxim Ganetsky
c4b04842e4 .gitlab-ci.yml: also install build-essential packages (needed for 'make') 2022-08-05 23:09:25 +00:00
Maxim Ganetsky
b1cab800e6 .gitlab-ci.yml: let apt-get work non-interactively 2022-08-05 22:50:49 +00:00
Maxim Ganetsky
14783ceac0 Created initial CI configuration (build on Linux/FPC3.2.2/GTK2) 2022-08-05 22:47:32 +00:00