ci: always run build and test stage on new commits

This commit is contained in:
Max Lübke 2023-08-11 10:19:02 +02:00
parent e82544a25d
commit 6e687acf45

View File

@ -34,8 +34,6 @@ build-poet: # This job runs in the build stage, which runs first.
- mkdir build && cd build - mkdir build && cd build
- cmake -DPOET_ENABLE_TESTING=ON .. - cmake -DPOET_ENABLE_TESTING=ON ..
- make -j$(nproc) - make -j$(nproc)
rules:
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
artifacts: artifacts:
paths: paths:
- build - build
@ -47,8 +45,6 @@ test-poet:
script: script:
- cd build - cd build
- make -j$(nproc) check - make -j$(nproc) check
rules:
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
archive-sources: # This job runs in the build stage, which runs first. archive-sources: # This job runs in the build stage, which runs first.
image: python:3 image: python:3