Update path and toolchain up to date
This commit is contained in:
		
							
								
								
									
										19
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										19
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							| @@ -165,6 +165,25 @@ jobs: | |||||||
|           profile: minimal |           profile: minimal | ||||||
|           override: true |           override: true | ||||||
|  |  | ||||||
|  |       - name: Add mingw32 to path for i686-gnu | ||||||
|  |         run: | | ||||||
|  |           echo "C:\msys64\mingw32\bin" >> $GITHUB_PATH | ||||||
|  |           echo "C:\msys64\usr\bin" >> $GITHUB_PATH | ||||||
|  |         if: matrix.target == 'i686-pc-windows-gnu' | ||||||
|  |         shell: bash | ||||||
|  |       - name: Add mingw64 to path for x86_64-gnu | ||||||
|  |         run: | | ||||||
|  |           echo "C:\msys64\mingw64\bin" >> $GITHUB_PATH | ||||||
|  |           echo "C:\msys64\usr\bin" >> $GITHUB_PATH | ||||||
|  |         if: matrix.target == 'x86_64-pc-windows-gnu' | ||||||
|  |         shell: bash | ||||||
|  |       - name: Update gcc | ||||||
|  |         if: matrix.target == 'x86_64-pc-windows-gnu' | ||||||
|  |         run: pacman.exe -Sy --noconfirm mingw-w64-x86_64-toolchain | ||||||
|  |       - name: Update gcc | ||||||
|  |         if: matrix.target == 'i686-pc-windows-gnu' | ||||||
|  |         run: pacman.exe -Sy --noconfirm mingw-w64-i686-toolchain | ||||||
|  |  | ||||||
|       - name: Build |       - name: Build | ||||||
|         uses: actions-rs/cargo@v1 |         uses: actions-rs/cargo@v1 | ||||||
|         with: |         with: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user