mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-21 02:09:36 +02:00
* build and test must be one job
(cherry picked from commit 21914bf43b
)
This commit is contained in:
parent
21cead61d5
commit
335b6acc4d
@ -6,17 +6,12 @@
|
|||||||
image: registry.gitlab.com/freepascal.org/fpc/source:buster_fpcbuild
|
image: registry.gitlab.com/freepascal.org/fpc/source:buster_fpcbuild
|
||||||
|
|
||||||
stages: # List of stages for jobs, and their order of execution
|
stages: # List of stages for jobs, and their order of execution
|
||||||
- build
|
- buildandtest
|
||||||
- test
|
|
||||||
|
|
||||||
build-job: # This job runs in the build stage, which runs first.
|
build-and-test-job: # This job runs in the build stage, which runs first.
|
||||||
stage: build
|
stage: buildandtest
|
||||||
script:
|
script:
|
||||||
- make -j 4 all OS_TARGET=linux CPU_TARGET=x86_64 OPT="-gl" FPMAKEOPT="-T 4"
|
- make -j 4 all OS_TARGET=linux CPU_TARGET=x86_64 OPT="-gl" FPMAKEOPT="-T 4"
|
||||||
|
|
||||||
regression-test-job: # This job runs in the test stage.
|
|
||||||
stage: test # It only starts when the job in the build stage completes successfully.
|
|
||||||
script:
|
|
||||||
- FPC_SRC=$(pwd)
|
- FPC_SRC=$(pwd)
|
||||||
- FPC_COMPILER=$FPC_SRC/compiler/ppcx64
|
- FPC_COMPILER=$FPC_SRC/compiler/ppcx64
|
||||||
- cd tests
|
- cd tests
|
||||||
|
Loading…
Reference in New Issue
Block a user