mirror of
				https://github.com/TheLartians/ModernCppStarter.git
				synced 2025-10-31 02:01:33 +01:00 
			
		
		
		
	Fix script
Fix script Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
		
							parent
							
								
									4d683ce967
								
							
						
					
					
						commit
						a4f458751c
					
				
					 1 changed files with 4 additions and 6 deletions
				
			
		
							
								
								
									
										8
									
								
								.github/workflows/dockcross.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								.github/workflows/dockcross.yml
									
										
									
									
										vendored
									
									
								
							|  | @ -68,17 +68,15 @@ jobs: | ||||||
|         with: |         with: | ||||||
|           submodules: "recursive" |           submodules: "recursive" | ||||||
|           fetch-depth: 0  |           fetch-depth: 0  | ||||||
|       - name: "Install dependency" |  | ||||||
|         run: sudo apt-get update && sudo apt-get install -y ninja-build   |  | ||||||
|       - name: "Pull ${{ matrix.image_name }}..." |       - name: "Pull ${{ matrix.image_name }}..." | ||||||
|         run: docker pull dockcross/${{ matrix.image_name }} |         run: docker pull dockcross/${{ matrix.image_name }} | ||||||
|       - name: "Make script" |       - name: "Make script" | ||||||
|         run: docker run --rm dockcross/${{ matrix.image_name }} > ./dockcross-${{ matrix.image_name }} |         run: docker run --rm dockcross/${{ matrix.image_name }} > ./dockcross-${{ matrix.image_name }} | ||||||
|       - name: "Config CMakefile" |       - name: "Config CMakefile" | ||||||
|         run: cmake -B dockcross-${{ matrix.image_name }} -S . -G Ninja -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} |         run: ./dockcross-${{ matrix.image_name }} cmake -B dockcross-${{ matrix.image_name }} -S . -G Ninja -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} | ||||||
|       - name: "Build" |       - name: "Build" | ||||||
|         run: ninja -C dockcross-${{ matrix.image_name }} |         run: ./dockcross-${{ matrix.image_name }} ninja -C dockcross-${{ matrix.image_name }} | ||||||
|       - name: "Test" |       - name: "Test" | ||||||
|         run: | |         run: | | ||||||
|           cd dockcross-${{ matrix.image_name }} |           cd dockcross-${{ matrix.image_name }} | ||||||
|           ctest --build-config ${{ matrix.build_type }} |           ./dockcross-${{ matrix.image_name }} ctest --build-config ${{ matrix.build_type }} | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue