mirror of
				https://github.com/red0124/ssp.git
				synced 2025-10-30 21:06:44 +01:00 
			
		
		
		
	try ubuntu icc pipeline
This commit is contained in:
		
							parent
							
								
									37edd6b19a
								
							
						
					
					
						commit
						d1d88838f9
					
				
							
								
								
									
										24
									
								
								.github/workflows/ubuntu-latest-icc.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										24
									
								
								.github/workflows/ubuntu-latest-icc.yml
									
									
									
									
										vendored
									
									
								
							| @ -26,16 +26,11 @@ jobs: | |||||||
|       run: |       run: | ||||||
|         shell: bash |         shell: bash | ||||||
| 
 | 
 | ||||||
|     container: |  | ||||||
|       image: gcc:10 |  | ||||||
|       options: -v /usr/local:/host_usr_local |  | ||||||
| 
 |  | ||||||
|     steps: |     steps: | ||||||
|     - uses: actions/checkout@v2 |     - uses: actions/checkout@v2 | ||||||
| 
 | 
 | ||||||
|     - name: cache install |     - name: cache install | ||||||
|       id: cache-install |       id: cache-install | ||||||
| 
 |  | ||||||
|       uses: actions/cache@v2 |       uses: actions/cache@v2 | ||||||
|       with: |       with: | ||||||
|         path: | |         path: | | ||||||
| @ -43,26 +38,17 @@ jobs: | |||||||
|         key: |         key: | ||||||
|           install-${{ env.LINUX_HPCKIT_URL }}-${{ env.LINUX_CPP_COMPONENTS_WEB }}-compiler-${{ hashFiles('**/scripts/cache_exclude_linux.sh') }} |           install-${{ env.LINUX_HPCKIT_URL }}-${{ env.LINUX_CPP_COMPONENTS_WEB }}-compiler-${{ hashFiles('**/scripts/cache_exclude_linux.sh') }} | ||||||
| 
 | 
 | ||||||
|     - name: CMake |  | ||||||
|       run: echo "/host_usr_local/bin" >> $GITHUB_PATH |  | ||||||
| 
 |  | ||||||
|     - name: Install dependencies |  | ||||||
|       run: script/ci_install_deps.sh |  | ||||||
| 
 |  | ||||||
|     - name: Install icc |     - name: Install icc | ||||||
|       run: script/ci_install_icc.sh $LINUX_HPCKIT_URL $LINUX_CPP_COMPONENTS_WEB |       run: script/ci_install_icc.sh $LINUX_HPCKIT_URL $LINUX_CPP_COMPONENTS_WEB | ||||||
| 
 | 
 | ||||||
|     - name: Setup icc |     - name: Setup icc | ||||||
|       run: source script/ci_setup_icc.sh |       run: source script/ci_setup_deps.sh | ||||||
| 
 | 
 | ||||||
|     - name: Test compiler |     - name: Install dependencies | ||||||
|       run: echo $CXX |       run: sudo script/ci_install_deps.sh | ||||||
| 
 | 
 | ||||||
|     - name: Set compiler |     - name: CMake | ||||||
|       run: CXX=dpcpp |       run: echo "/host_usr_local/bin" >> $GITHUB_PATH | ||||||
| 
 |  | ||||||
|     - name: Set compiler |  | ||||||
|       run: dpcpp -v |  | ||||||
| 
 | 
 | ||||||
|     - name: Configure |     - name: Configure | ||||||
|       run: cmake -S test -B build -D CMAKE_BUILD_TYPE=Debug |       run: cmake -S test -B build -D CMAKE_BUILD_TYPE=Debug | ||||||
|  | |||||||
| @ -13,10 +13,10 @@ chmod +x webimage.sh | |||||||
| rm -rf webimage.sh | rm -rf webimage.sh | ||||||
| WEBIMAGE_NAME=$(ls -1 webimage_extracted/) | WEBIMAGE_NAME=$(ls -1 webimage_extracted/) | ||||||
| if [ -z "$COMPONENTS" ]; then | if [ -z "$COMPONENTS" ]; then | ||||||
|   webimage_extracted/"$WEBIMAGE_NAME"/bootstrapper -s --action install --eula=accept --continue-with-optional-error=yes --log-dir=. |   sudo webimage_extracted/"$WEBIMAGE_NAME"/bootstrapper -s --action install --eula=accept --continue-with-optional-error=yes --log-dir=. | ||||||
|   installer_exit_code=$? |   installer_exit_code=$? | ||||||
| else | else | ||||||
|   webimage_extracted/"$WEBIMAGE_NAME"/bootstrapper -s --action install --components="$COMPONENTS" --eula=accept --continue-with-optional-error=yes --log-dir=. |   sudo webimage_extracted/"$WEBIMAGE_NAME"/bootstrapper -s --action install --components="$COMPONENTS" --eula=accept --continue-with-optional-error=yes --log-dir=. | ||||||
|   installer_exit_code=$? |   installer_exit_code=$? | ||||||
| fi | fi | ||||||
| rm -rf webimage_extracted | rm -rf webimage_extracted | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user