multistaging ci
This commit is contained in:
		@@ -1,21 +1,41 @@
 | 
				
			|||||||
image: luki42/dynuiprefresher_build:latest
 | 
					image: luki42/dynuiprefresher_build:latest
 | 
				
			||||||
 | 
					
 | 
				
			||||||
stages:
 | 
					stages:
 | 
				
			||||||
 | 
					  - cmake
 | 
				
			||||||
  - build
 | 
					  - build
 | 
				
			||||||
 | 
					  - build_package
 | 
				
			||||||
 | 
					  - test
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					cmake:
 | 
				
			||||||
 | 
					  stage: cmake
 | 
				
			||||||
 | 
					  script:
 | 
				
			||||||
 | 
					    - cmake -S . -B build
 | 
				
			||||||
 | 
					
 | 
				
			||||||
build:
 | 
					build:
 | 
				
			||||||
  stage: build
 | 
					  stage: build
 | 
				
			||||||
  script:
 | 
					  script:
 | 
				
			||||||
    - cmake -S . -B build
 | 
					 | 
				
			||||||
    - cd build
 | 
					    - cd build
 | 
				
			||||||
    - make
 | 
					    - make
 | 
				
			||||||
    - make package
 | 
					 | 
				
			||||||
    - make test
 | 
					 | 
				
			||||||
    - make build-xml
 | 
					 | 
				
			||||||
  artifacts:
 | 
					  artifacts:
 | 
				
			||||||
    paths:
 | 
					    paths:
 | 
				
			||||||
      - "build/bin/*"
 | 
					      - "build/bin/*"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					build_package:
 | 
				
			||||||
 | 
					  stage: build_package
 | 
				
			||||||
 | 
					  script:
 | 
				
			||||||
 | 
					    - cd build
 | 
				
			||||||
 | 
					    - make package
 | 
				
			||||||
 | 
					  artifacts:
 | 
				
			||||||
 | 
					    paths:
 | 
				
			||||||
      - "build/packages/*"
 | 
					      - "build/packages/*"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					test:
 | 
				
			||||||
 | 
					  stage: test
 | 
				
			||||||
 | 
					  script:
 | 
				
			||||||
 | 
					    - cd build
 | 
				
			||||||
 | 
					    - make test
 | 
				
			||||||
 | 
					    - make build-xml
 | 
				
			||||||
 | 
					  artifacts:
 | 
				
			||||||
    reports:
 | 
					    reports:
 | 
				
			||||||
      junit: build/report.xml
 | 
					      junit: build/report.xml
 | 
				
			||||||
		Reference in New Issue
	
	Block a user