keep data between stages
This commit is contained in:
		@@ -10,12 +10,18 @@ cmake:
 | 
				
			|||||||
  stage: cmake
 | 
					  stage: cmake
 | 
				
			||||||
  script:
 | 
					  script:
 | 
				
			||||||
    - cmake -S . -B build
 | 
					    - cmake -S . -B build
 | 
				
			||||||
 | 
					  cache:
 | 
				
			||||||
 | 
					    paths:
 | 
				
			||||||
 | 
					      - build/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
build:
 | 
					build:
 | 
				
			||||||
  stage: build
 | 
					  stage: build
 | 
				
			||||||
  script:
 | 
					  script:
 | 
				
			||||||
    - cd build
 | 
					    - cd build
 | 
				
			||||||
    - make
 | 
					    - make
 | 
				
			||||||
 | 
					  cache:
 | 
				
			||||||
 | 
					    paths:
 | 
				
			||||||
 | 
					      - build/
 | 
				
			||||||
  artifacts:
 | 
					  artifacts:
 | 
				
			||||||
    paths:
 | 
					    paths:
 | 
				
			||||||
      - "build/bin/*"
 | 
					      - "build/bin/*"
 | 
				
			||||||
@@ -26,6 +32,9 @@ build_package:
 | 
				
			|||||||
  script:
 | 
					  script:
 | 
				
			||||||
    - cd build
 | 
					    - cd build
 | 
				
			||||||
    - make package
 | 
					    - make package
 | 
				
			||||||
 | 
					  cache:
 | 
				
			||||||
 | 
					    paths:
 | 
				
			||||||
 | 
					      - build/
 | 
				
			||||||
  artifacts:
 | 
					  artifacts:
 | 
				
			||||||
    paths:
 | 
					    paths:
 | 
				
			||||||
      - "build/packages/*"
 | 
					      - "build/packages/*"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user