Verified Commit 80ddb7de authored by Alberto Miranda's avatar Alberto Miranda ♨️
Browse files

Reduce artifact size and set expiration time

parent 35dd55cd
Loading
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -164,7 +164,7 @@ build:gcc:8.1:


### GCC 9.1 with libfabric1.7.1, mercury 1.0.1
build:gcc_9.1:
build:gcc_9.1:libfabric_1.7.1:mercury_1.0.1:
  image: bscstorage/norns-build-deps:gcc9.1-libfabric1.7.1-mercury1.0.1
  stage: build
  script:
@@ -181,10 +181,15 @@ build:gcc_9.1:
        make -j$(nproc) api
        make -j$(nproc) api_interactive
      )
    - find "${CI_PROJECT_DIR}/build" -name "*.o" -or -name "*.lo" | xargs du -ch
    - du -h "${CI_PROJECT_DIR}/build"
    - find "${CI_PROJECT_DIR}/build" -name "*.o" -or -name "*.lo" -delete
    - du -h "${CI_PROJECT_DIR}/build"
  artifacts:
    paths:
      - "${CI_PROJECT_DIR}/build"
    expire_in:
      - 1 day
# This one is always run       
#  only:
#    - tags