define cached files globally/ including last test job
This commit is contained in:
		@@ -6,22 +6,24 @@ stages:
 | 
				
			|||||||
  - build_package
 | 
					  - build_package
 | 
				
			||||||
  - test
 | 
					  - test
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					cache:
 | 
				
			||||||
 | 
					  paths:
 | 
				
			||||||
 | 
					    - build/
 | 
				
			||||||
 | 
					    - src/
 | 
				
			||||||
 | 
					    - inc/
 | 
				
			||||||
 | 
					    - tests/
 | 
				
			||||||
 | 
					    - postinst
 | 
				
			||||||
 | 
					
 | 
				
			||||||
cmake:
 | 
					cmake:
 | 
				
			||||||
  stage: cmake
 | 
					  stage: cmake
 | 
				
			||||||
  script:
 | 
					  script:
 | 
				
			||||||
    - cmake -S . -B build
 | 
					    - cmake -S . -B build
 | 
				
			||||||
  cache:
 | 
					 | 
				
			||||||
    paths:
 | 
					 | 
				
			||||||
      - ./
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
build:
 | 
					build:
 | 
				
			||||||
  stage: build
 | 
					  stage: build
 | 
				
			||||||
  script:
 | 
					  script:
 | 
				
			||||||
    - cd build
 | 
					    - cd build
 | 
				
			||||||
    - make
 | 
					    - make
 | 
				
			||||||
  cache:
 | 
					 | 
				
			||||||
    paths:
 | 
					 | 
				
			||||||
      - ./
 | 
					 | 
				
			||||||
  artifacts:
 | 
					  artifacts:
 | 
				
			||||||
    paths:
 | 
					    paths:
 | 
				
			||||||
      - "build/bin/*"
 | 
					      - "build/bin/*"
 | 
				
			||||||
@@ -32,9 +34,6 @@ build_package:
 | 
				
			|||||||
  script:
 | 
					  script:
 | 
				
			||||||
    - cd build
 | 
					    - cd build
 | 
				
			||||||
    - make package
 | 
					    - make package
 | 
				
			||||||
  cache:
 | 
					 | 
				
			||||||
    paths:
 | 
					 | 
				
			||||||
      - ./
 | 
					 | 
				
			||||||
  artifacts:
 | 
					  artifacts:
 | 
				
			||||||
    paths:
 | 
					    paths:
 | 
				
			||||||
      - "build/packages/*"
 | 
					      - "build/packages/*"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user