ci: add libc++ to coverage.dockerfile
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		
							parent
							
								
									026f97ad0b
								
							
						
					
					
						commit
						0b94aaffa7
					
				
					 1 changed files with 11 additions and 7 deletions
				
			
		| 
						 | 
					@ -1,12 +1,16 @@
 | 
				
			||||||
FROM archlinux:latest
 | 
					FROM archlinux:latest
 | 
				
			||||||
 | 
					
 | 
				
			||||||
RUN pacman -Syu --noconfirm && \
 | 
					RUN pacman -Syu --noconfirm --disable-download-timeout \
 | 
				
			||||||
    pacman -S --noconfirm \
 | 
					    && pacman -S  --noconfirm --disable-download-timeout reflector \
 | 
				
			||||||
 | 
					    && reflector --verbose --latest 10 --protocol https --sort rate --save /etc/pacman.d/mirrorlist \
 | 
				
			||||||
 | 
					    && sed -i 's/^#ParallelDownloads = .*/ParallelDownloads = 8/' /etc/pacman.conf \
 | 
				
			||||||
 | 
					    && grep "ParallelDownloads" /etc/pacman.conf
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					RUN pacman -S --noconfirm --disable-download-timeout \
 | 
				
			||||||
    bash \
 | 
					    bash \
 | 
				
			||||||
    base-devel \
 | 
					    base-devel \
 | 
				
			||||||
    git \
 | 
					    git \
 | 
				
			||||||
    cmake \
 | 
					    cmake \
 | 
				
			||||||
    ninja \
 | 
					 | 
				
			||||||
    python \
 | 
					    python \
 | 
				
			||||||
    python-pip \
 | 
					    python-pip \
 | 
				
			||||||
    clang \
 | 
					    clang \
 | 
				
			||||||
| 
						 | 
					@ -16,13 +20,13 @@ RUN pacman -Syu --noconfirm && \
 | 
				
			||||||
    ninja \
 | 
					    ninja \
 | 
				
			||||||
    curl \
 | 
					    curl \
 | 
				
			||||||
    wget \
 | 
					    wget \
 | 
				
			||||||
    zlib
 | 
					    zlib \
 | 
				
			||||||
 | 
					    libc++
 | 
				
			||||||
 | 
					
 | 
				
			||||||
RUN pip install --no-cache-dir --break-system-packages conan gitpython \
 | 
					RUN pip install --no-cache-dir --break-system-packages conan gitpython \
 | 
				
			||||||
    && conan profile detect
 | 
					    && conan profile detect
 | 
				
			||||||
 | 
					
 | 
				
			||||||
RUN clang --version  \
 | 
					RUN pip --version \
 | 
				
			||||||
    && pip --version \
 | 
					 | 
				
			||||||
    && conan --version \
 | 
					    && conan --version \
 | 
				
			||||||
    && cmake --version \
 | 
					    && cmake --version \
 | 
				
			||||||
    && g++ --version \
 | 
					    && g++ --version \
 | 
				
			||||||
| 
						 | 
					@ -43,6 +47,6 @@ RUN git clone 'https://git.light7734.com/light7734/light.git' \
 | 
				
			||||||
        -s compiler.version=20 \
 | 
					        -s compiler.version=20 \
 | 
				
			||||||
        -s compiler.libcxx=libc++ \
 | 
					        -s compiler.libcxx=libc++ \
 | 
				
			||||||
        -o use_mold=True \
 | 
					        -o use_mold=True \
 | 
				
			||||||
        -o enable_lcov=True \
 | 
					        -o enable_llvm_coverage=True \
 | 
				
			||||||
        --build=missing \
 | 
					        --build=missing \
 | 
				
			||||||
    && rm -r ../light/
 | 
					    && rm -r ../light/
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue