mirror of
				https://github.com/bensuperpc/dockcross.git
				synced 2025-10-31 16:16:23 +01:00 
			
		
		
		
	ci: build multiarch base with ubuntu-22.04-arm
macos-15 (arm) still requires emulation and is too slow.
This commit is contained in:
		
							
								
								
									
										12
									
								
								.github/workflows/main.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										12
									
								
								.github/workflows/main.yml
									
									
									
									
										vendored
									
									
								
							| @@ -52,7 +52,7 @@ jobs: | ||||
|     strategy: | ||||
|       max-parallel: 5 | ||||
|       matrix: | ||||
|         os: [ubuntu-22.04, macos-15] | ||||
|         os: [ubuntu-22.04, ubuntu-22.04-arm] | ||||
|     steps: | ||||
|       - name: checkout code | ||||
|         uses: actions/checkout@v4 | ||||
| @@ -60,16 +60,6 @@ jobs: | ||||
|           submodules: "recursive" | ||||
|           fetch-depth: 1 | ||||
|  | ||||
|       - name: setup macos docker | ||||
|         if: ${{ matrix.os == 'macos-15' }} | ||||
|         run: | | ||||
|           # https://github.com/abiosoft/colima/issues/970 | ||||
|           brew install qemu docker colima | ||||
|           LIMACTL_PATH=$(brew --prefix)/bin/limactl | ||||
|           sudo curl -L -o $LIMACTL_PATH https://github.com/mikekazakov/lima-nohvf/raw/master/limactl | ||||
|           sudo chmod +x $LIMACTL_PATH | ||||
|           colima start --network-address --arch arm64 --cpu 3 --memory 6 | ||||
|  | ||||
|       - name: build multiarch | ||||
|         run: | | ||||
|           host_arch=$(uname -m | sed -e 's/x86_64/amd64/' -e 's/aarch64/arm64/') | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Matt McCormick
					Matt McCormick