use artifacts instead of cache

This commit is contained in:
lukas 2020-05-19 21:13:53 +02:00
parent fb65ef98fa
commit 5271a25cbc

View File

@ -9,7 +9,7 @@ cmake:
image: luki42/dynuiprefresher_build:latest image: luki42/dynuiprefresher_build:latest
script: script:
- cmake -S . -B build - cmake -S . -B build
cache: artifacts:
paths: paths:
- build/ - build/
- inc/ - inc/
@ -22,9 +22,6 @@ build:
- cd build - cd build
- make - make
artifacts: artifacts:
paths:
- "build/bin/*"
cache:
paths: paths:
- build/ - build/
- inc/ - inc/
@ -38,9 +35,6 @@ build_package:
- cd build - cd build
- make package - make package
artifacts: artifacts:
paths:
- "build/packages/*"
cache:
paths: paths:
- build/ - build/
- inc/ - inc/
@ -56,7 +50,6 @@ test:
artifacts: artifacts:
reports: reports:
junit: build/report.xml junit: build/report.xml
cache:
paths: paths:
- build/ - build/
- inc/ - inc/
@ -68,7 +61,7 @@ cmake_win64:
image: luki42/dynuiprefresher_build:windows image: luki42/dynuiprefresher_build:windows
script: script:
- cmake -S . -B build -D WinBuild=ON - cmake -S . -B build -D WinBuild=ON
cache: artifacts:
paths: paths:
- build/ - build/
- inc/ - inc/
@ -80,9 +73,6 @@ build_win64:
- cd build - cd build
- make iprefresher - make iprefresher
artifacts: artifacts:
paths:
- "build/bin/*"
cache:
paths: paths:
- build/ - build/
- inc/ - inc/
@ -95,9 +85,6 @@ build_package_win64:
- cd build - cd build
- make package - make package
artifacts: artifacts:
paths:
- "build/packages/*"
cache:
paths: paths:
- build/ - build/
- inc/ - inc/