mirror of
https://github.com/bensuperpc/dockcross.git
synced 2025-03-12 17:20:08 +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:
parent
aac97dfb18
commit
1d459d9fbc
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/')
|
||||
|
Loading…
x
Reference in New Issue
Block a user