Skip to content
Snippets Groups Projects
Unverified Commit d26e3414 authored by Jayesh Badwaik's avatar Jayesh Badwaik
Browse files

- ci : add artifacts to jobs

parent 53e3674a
Branches master
No related tags found
No related merge requests found
Pipeline #141036 passed
...@@ -7,5 +7,5 @@ ...@@ -7,5 +7,5 @@
.platform.documentation: .platform.documentation:
before_script: before_script:
- pacman --noconfirm -Syy - pacman --noconfirm -Syy
- pacman --noconfirm -S doxygen cmake gcc graphviz - pacman --noconfirm -S doxygen cmake gcc graphviz rsync
- pacman --noconfirm -S git python wget make - pacman --noconfirm -S git python wget make
...@@ -7,6 +7,6 @@ ...@@ -7,6 +7,6 @@
.platform.x64.cuda.12: .platform.x64.cuda.12:
before_script: before_script:
- yum install -y epel-release - yum install -y epel-release
- yum install -y wget git git-lfs make glibc-devel python3 lcov gcc-toolset-12 - yum install -y wget git git-lfs make glibc-devel python3 lcov gcc-toolset-12 rsync
- source /opt/rh/gcc-toolset-12/enable - source /opt/rh/gcc-toolset-12/enable
...@@ -7,6 +7,6 @@ ...@@ -7,6 +7,6 @@
.platform.x64.gcc.12: .platform.x64.gcc.12:
before_script: before_script:
- yum install -y epel-release - yum install -y epel-release
- yum install -y wget git git-lfs make glibc-devel python3 lcov - yum install -y wget git git-lfs make glibc-devel python3 lcov rsync
...@@ -6,5 +6,5 @@ ...@@ -6,5 +6,5 @@
.platform.x64.llvm.15: .platform.x64.llvm.15:
before_script: before_script:
- yum install -y wget git git-lfs make glibc-devel python3 - yum install -y wget git git-lfs make glibc-devel python3 rsync
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
.platform.x64.nvhpc.23: .platform.x64.nvhpc.23:
before_script: before_script:
- yum install -y epel-release - yum install -y epel-release
- yum install -y wget git git-lfs make glibc-devel python3 - yum install -y wget git git-lfs make glibc-devel python3 rsync
- dnf install -y gcc-toolset-12 - dnf install -y gcc-toolset-12
- source /opt/rh/gcc-toolset-12/enable - source /opt/rh/gcc-toolset-12/enable
- makelocalrc -x /opt/nvidia/hpc_sdk/Linux_x86_64/23.1/compilers/bin/ - makelocalrc -x /opt/nvidia/hpc_sdk/Linux_x86_64/23.1/compilers/bin/
... ...
......
...@@ -4,20 +4,19 @@ ...@@ -4,20 +4,19 @@
#--------------------------------------------------------------------------------------------------- #---------------------------------------------------------------------------------------------------
#--------------------------------------------------------------------------------------------------- #---------------------------------------------------------------------------------------------------
# The Universal Job Script # The Documentation Job Script
# Requirement: # Requirement:
#--------------------------------------------------------------------------------------------------- #---------------------------------------------------------------------------------------------------
.documentation: .documentation:
dependencies: dependencies:
- fetch.testdata - fetch.testdata
trigger: orgzell/dev
variables: variables:
ZELL_DEPLOY_DOC_BRANCH: $CI_COMMIT_REF_NAME ZELL_DEPLOY_DOC_BRANCH: $CI_COMMIT_REF_NAME
ZELL_DEPLOY_DOC: "true" ZELL_DEPLOY_DOC: "true"
artifacts: artifacts:
when: on_success when: on_success
paths: paths:
- "install" - artifacts/doc
script: script:
- mkdir -p $PLATFORM_ROOT - mkdir -p $PLATFORM_ROOT
- (cd testdata/.meta && sha256sum -c validator.bin.sha256) - (cd testdata/.meta && sha256sum -c validator.bin.sha256)
...@@ -40,8 +39,8 @@ ...@@ -40,8 +39,8 @@
-DPROJECT_LAB=$JOB_LAB -DPROJECT_LAB=$JOB_LAB
- cmake --build $PLATFORM_BUILD_DIR --parallel $SITE_BUILD_THREADS - cmake --build $PLATFORM_BUILD_DIR --parallel $SITE_BUILD_THREADS
- cmake --install $PLATFORM_BUILD_DIR --prefix $PLATFORM_INSTALL_DIR - cmake --install $PLATFORM_BUILD_DIR --prefix $PLATFORM_INSTALL_DIR
- cp -r $PLATFORM_INSTALL_DIR install - mkdir -p artifacts/doc
- rsync -aAX $PLATFORM_INSTALL_DIR/share/doc/zell/documentation/ artifacts/doc/
... ...
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
artifacts: artifacts:
when: on_failure when: on_failure
paths: paths:
- "log" - artifacts/$CI_JOB_NAME
script: script:
- mkdir -p $PLATFORM_ROOT - mkdir -p $PLATFORM_ROOT
- (cd testdata/.meta && sha256sum -c validator.bin.sha256) - (cd testdata/.meta && sha256sum -c validator.bin.sha256)
...@@ -49,9 +49,12 @@ ...@@ -49,9 +49,12 @@
--test-dir $PLATFORM_BUILD_DIR \ --test-dir $PLATFORM_BUILD_DIR \
--passthrough "--input $PLATFORM_TESTDATA_DIR --output $PLATFORM_OUTPUT_DIR" \ --passthrough "--input $PLATFORM_TESTDATA_DIR --output $PLATFORM_OUTPUT_DIR" \
--preset $TEST_PRESET --preset $TEST_PRESET
- mkdir -p artifacts/$CI_JOB_NAME
- rsync -aAX $PLATFORM_BUILD_DIR/log artifacts/$CI_JOB_NAME/
- | - |
if [[ $JOB_PRESET == "test.coverage" ]]; then if [[ $JOB_PRESET == "test.coverage" ]]; then
cmake --build $PLATFORM_BUILD_DIR --target diagnostic.coverage cmake --build $PLATFORM_BUILD_DIR --target diagnostic.coverage
rsync -aAX $PLATFORM_BUILD_DIR/coverage artifacts/$CI_JOB_NAME/
fi fi
- | - |
if [[ $JOB_PRESET == "test.linting" ]]; then if [[ $JOB_PRESET == "test.linting" ]]; then
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment