Skip to content

Commit

Permalink
[ci] Add build-project job back, check if something is missing to son…
Browse files Browse the repository at this point in the history
…arqube
  • Loading branch information
mengtan committed Jan 10, 2024
1 parent cb97df7 commit 58a3cce
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,30 @@ branch-pages:
- maintenance_bastion_13.0


build-project:
stage: build
needs: []
except:
- tags
variables:
GIT_SUBMODULE_STRATEGY: recursive
image: ${NEXUS_WAB_PROXIES_URL}/${IMAGE_REDEMPTION_ANALYZE}
script:
- mkdir -p "$TESTDIR"
- TMPDIR_TEST="$TESTDIR" bjam -j4 linkflags="-static-libstdc++" variant=release -q cxxflags='-DREDEMPTION_DISABLE_NO_BOOST_PREPROCESSOR_WARNING' && rm -r "$TESTDIR"
artifacts:
when: always
name: "$CI_JOB_NAME"
paths:
- bin/gcc-*/release
- "$TESTDIR"
exclude:
- bin/gcc-*/release/*/
- bin/gcc-*/release/*.o
- bin/gcc-*/release/libunit_test.so
expire_in: 1 day


build-analyze:
stage: build
needs: []
Expand All @@ -77,7 +101,7 @@ build-analyze:

sonarqube-check:
stage: build
needs: [build-analyze]
needs: [build-project, build-analyze]
image:
name: sonarsource/sonar-scanner-cli:latest
entrypoint: [""]
Expand Down

0 comments on commit 58a3cce

Please sign in to comment.