Hi!

I've created build environments for Firebird (master at this moment) for
Windows and Linux (both 32 and 64 bits) in Docker.

Note that this is not Docker image with Firebird. It's a builder
environment.

This serves mainly for three purposes:
- Have better environments to run in GitHub Actions. For example,
Windows 2016 (the only one with VS 2017) will be removed in March 15,
2022 (https://github.com/actions/virtual-environments/issues/4312). It
also seems a good reason to backport VS 2019/2022 patch for v3.
- In the future, make them the official way to build the official kits,
and obviously, the official snapshot builds. And do that in a very
automated way.
- Make that process more clear and reproducible for everyone who want to
do builds as the official ones.

The Windows environment is created with VS 2019 build tools.

VS 2017 did not always installed ok for me in docker and we cannot
install a specific version of it.

It's prepared to generate Inno Setup installer kit, but it seems
failing for master, so currently only .zip kit is generated.

Windows docker image can't be pushed to Docker Hub due to licensing
issues, so the problem with this is that the image must be created
directly in GitHub Actions. That makes that build much slower (around 37
minutes against 17 minutes of non Docker VS 2019 build).

Many thanks to Alex for helping me with the Linux environment and issues
as I found them.

The Linux x86_64 environment is producing binaries with dependencies
very similar to the current snapshot builds. It uses glibc 2.17 from
Ubuntu Raring (from 2013) and GCC 10.3.0.

I've tweaked it to use static libatomic, as libatomic.so is not present
in older Ubuntu versions.

For x86 there were no Ubuntu Raring in Docker, so I had to use Ubuntu
Vivid (from 2015). It has glibc 2.21.

Both Linux environments are pushed to docker hub and is just pulled from
there in GitHub. They are very slow to create due to GCC compilation
from sources.

All details are in builds/docker.


Adriano


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to