mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-06 09:57:54 +02:00
88 lines
2.6 KiB
YAML
88 lines
2.6 KiB
YAML
variables:
|
|
FPC_OLDSTABLE_VER: 3.2.0
|
|
FPC_STABLE_VER: 3.2.2
|
|
IMAGE_TAG: $CI_REGISTRY_IMAGE/debian11-x86-64:latest
|
|
|
|
default:
|
|
image: $IMAGE_TAG
|
|
|
|
stages: # List of stages for jobs, and their order of execution
|
|
- prepenv
|
|
- build
|
|
|
|
update-build-env: # This job updates building environment image. Run it if FPC version constants and/or Dockerfile.buildenv were changed.
|
|
stage: prepenv
|
|
image: docker
|
|
services:
|
|
- docker:dind
|
|
script:
|
|
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
|
|
- docker build --pull --build-arg FPC_OLDSTABLE_VER=$FPC_OLDSTABLE_VER --build-arg FPC_STABLE_VER=$FPC_STABLE_VER -t $IMAGE_TAG - < Dockerfile.buildenv
|
|
- docker push $IMAGE_TAG
|
|
when: manual
|
|
|
|
|
|
x86_64-gtk2-oldstable:
|
|
stage: build
|
|
script:
|
|
- make bigide FPC=/usr/lib/fpc/$FPC_OLDSTABLE_VER/ppcx64 CPU_TARGET=x86_64 LCL_PLATFORM=gtk2
|
|
when: manual
|
|
|
|
x86_64-gtk2-stable:
|
|
stage: build
|
|
script:
|
|
- make bigide FPC=/usr/lib/fpc/$FPC_STABLE_VER/ppcx64 CPU_TARGET=x86_64 LCL_PLATFORM=gtk2
|
|
# when: manual
|
|
|
|
x86_64-qt5-oldstable:
|
|
stage: build
|
|
script:
|
|
- cd lcl/interfaces/qt5/cbindings # build and install Qt5 Pascal bindings
|
|
- qmake -query
|
|
- qmake
|
|
- make
|
|
- make install
|
|
- cd ../../../..
|
|
- make bigide FPC=/usr/lib/fpc/$FPC_OLDSTABLE_VER/ppcx64 CPU_TARGET=x86_64 LCL_PLATFORM=qt5
|
|
when: manual
|
|
|
|
x86_64-qt5-stable:
|
|
stage: build
|
|
script:
|
|
- cd lcl/interfaces/qt5/cbindings # build and install Qt5 Pascal bindings
|
|
- qmake -query
|
|
- qmake
|
|
- make
|
|
- make install
|
|
- cd ../../../..
|
|
- make bigide FPC=/usr/lib/fpc/$FPC_STABLE_VER/ppcx64 CPU_TARGET=x86_64 LCL_PLATFORM=qt5
|
|
when: manual
|
|
|
|
i386-win32-oldstable:
|
|
stage: build
|
|
script:
|
|
- make lazbuild FPC=/usr/lib/fpc/$FPC_OLDSTABLE_VER/ppcx64
|
|
- make bigide FPC=/usr/lib/fpc/$FPC_OLDSTABLE_VER/ppcross386 OS_TARGET=win32 CPU_TARGET=i386 LCL_PLATFORM=win32
|
|
when: manual
|
|
|
|
i386-win32-stable:
|
|
stage: build
|
|
script:
|
|
- make lazbuild FPC=/usr/lib/fpc/$FPC_STABLE_VER/ppcx64
|
|
- make bigide FPC=/usr/lib/fpc/$FPC_STABLE_VER/ppcross386 OS_TARGET=win32 CPU_TARGET=i386 LCL_PLATFORM=win32
|
|
when: manual
|
|
|
|
x86_64-win64-oldstable:
|
|
stage: build
|
|
script:
|
|
- make lazbuild FPC=/usr/lib/fpc/$FPC_OLDSTABLE_VER/ppcx64
|
|
- make bigide FPC=/usr/lib/fpc/$FPC_OLDSTABLE_VER/ppcx64 OS_TARGET=win64 CPU_TARGET=x86_64 LCL_PLATFORM=win32
|
|
when: manual
|
|
|
|
x86_64-win64-stable:
|
|
stage: build
|
|
script:
|
|
- make lazbuild FPC=/usr/lib/fpc/$FPC_STABLE_VER/ppcx64
|
|
- make bigide FPC=/usr/lib/fpc/$FPC_STABLE_VER/ppcx64 OS_TARGET=win64 CPU_TARGET=x86_64 LCL_PLATFORM=win32
|
|
when: manual
|