Updating Debian / Ubuntu fpc Package lazarus / 32-Linux ---------------------------------------------------------------------- bodo-hugo-barwich · 2020-10-16 21:50 I'm trying to build my Automated Tests for my FreePascal Library with GitHub Workflow and also with Travis-CI The Tests mostly run on Ubuntu Images. In most Repositories there is an fpc Compiler Package included. fp-compiler-3.0.4 Free Pascal Compiler version 3.0.4+dfsg-18ubuntu2 [2018/08/29] for x86_64 as seen at: GitHub Automated Testing Workflow but with the new FreePascal Release I noticed there have been a lot of changes that require code changes. So I wonder who does the Package Updates and whether there are any Updates scheduled? ---------------------------------------------------------------------- PierceNg · 2020-10-17 02:38 Why not use the Sourceforge .deb packages directly? Since you are CI'ing a library and running the fptest driver program in console mode, with the FPC .deb packages, you also avoid installing Lazarus with all its attendant X11 and related libraries, meaning your CI jobs will run faster - from your example your pipeline run time is dominated by the 'install FPC' step. I am using a Docker image built with the FPC .deb files with Drone CI. ---------------------------------------------------------------------- winni · 2020-10-17 09:40 Hi! Here is the official page about changes and new features in fpc 3.2.0 https://wiki.freepascal.org/FPC_New_Features_3.2.0 Winni ---------------------------------------------------------------------- PascalDragon · 2020-10-17 10:04 Quote from: bodo-hugo-barwich on October 16, 2020, 11:50:04 pmSo I wonder who does the Package Updates and whether there are any Updates scheduled? The packages that are part of the official distribution servers are done by those distributions. We provide distribution independant packages with simple installer scripts however (see here). ---------------------------------------------------------------------- bodo-hugo-barwich · 2020-10-18 11:07 Quote from: PierceNg on October 17, 2020, 04:38:10 amWhy not use the Sourceforge .deb packages directly? Since you are CI'ing a library and running the fptest driver program in console mode, with the FPC .deb packages, you also avoid installing Lazarus with all its attendant X11 and related libraries, meaning your CI jobs will run faster - from your example your pipeline run time is dominated by the 'install FPC' step. I am using a Docker image built with the FPC .deb files with Drone CI. Thank you for taking interest in this issue. The problem about downloading .deb files directly and install them is that Travis-CI blocks external downloads. (I think for security reasons). So the build hangs in the download forever until its finally killed by the CI Engine. I also noticed that the installation is quite lengthly but I think there is no way reusing the created images with the personal account. But I will also take a look at "Drone CI" thank you for the hint. ---------------------------------------------------------------------- bodo-hugo-barwich · 2020-10-18 11:11 Quote from: PascalDragon on October 17, 2020, 12:04:01 pmQuote from: bodo-hugo-barwich on October 16, 2020, 11:50:04 pmSo I wonder who does the Package Updates and whether there are any Updates scheduled? The packages that are part of the official distribution servers are done by those distributions. Yes, I understand this procedure. I was wondering whether someone of the FreePascal Team is maintainer of the Debian / Ubuntu Packages as part of the "Pascal Packaging Team Maintainers List ---------------------------------------------------------------------- PascalDragon · 2020-10-18 11:20 Quote from: bodo-hugo-barwich on October 18, 2020, 01:11:51 pmI was wondering whether someone of the FreePascal Team is maintainer of the Debian / Ubuntu Packages as part of the "Pascal Packaging Team Maintainers List Nope, none of the core devs are Debian package maintainers. ---------------------------------------------------------------------- bodo-hugo-barwich · 2020-11-15 18:55 Quote from: PierceNg on October 17, 2020, 04:38:10 amI am using a Docker image built with the FPC .deb files with Drone CI. I looked at the Drone CI and found it is meant as a replacement for Jenkins and it requires dedicated resources. So, I rather stick with the free Tools like GitHub Workflow and Travis CI since I need to economise costs. ---------------------------------------------------------------------- bodo-hugo-barwich · 2020-12-04 13:26 Quote from: PierceNg on October 17, 2020, 04:38:10 amWhy not use the Sourceforge .deb packages directly? Since you are CI'ing a library and running the fptest driver program in console mode, with the FPC .deb packages, you also avoid installing Lazarus with all its attendant X11 and related libraries, meaning your CI jobs will run faster - from your example your pipeline run time is dominated by the 'install FPC' step. I am using a Docker image built with the FPC .deb files with Drone CI. I'm studying now the possibility to install FPC with the .deb package file. But I found that there isn't any Debian Package prebuilt for download at: FPC Download Page instead I found these instructions: Quote***************************************************************** *********** * Quick start - Linux/FreeBSD ********************************************************************** ****** Download fpc-3.2.0.-.tar and untar into a temporary directory. Start the install script with ./install.sh and follow the instructions. Actually this Installation Procedure is not very On-the-fly CI friendly as I need it for Travis CI or GitHub Workflow I would first need to build locally a Debian Package an this then publish online to make it available for the On-the-fly CI Workflow. ---------------------------------------------------------------------- PierceNg · 2020-12-06 11:50 Quote from: bodo-hugo-barwich on December 04, 2020, 02:26:57 pmBut I found that there isn't any Debian Package prebuilt for download at: FPC Download Page I use the DEBs found here: https://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20amd64 %20DEB/Lazarus%202.0.10/