Skip to content

Commit

Permalink
Use macOS+arm64 for maximal reproduction check :D.
Browse files Browse the repository at this point in the history
  • Loading branch information
saurik committed Dec 16, 2024
1 parent 5c20b13 commit 2f65a84
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/actions/lima-docker/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ runs:
steps:
- run: brew install docker lima
shell: bash
- run: limactl start template://docker
- run: limactl start template://docker --arch=x86_64
shell: bash
- run: docker context create lima-docker --docker "host=unix://${HOME}/.lima/docker/sock/docker.sock"
shell: bash
Expand Down
4 changes: 1 addition & 3 deletions .github/actions/nerdctl/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ runs:
steps:
- run: brew install lima
shell: bash
# XXX: this requires nested virtualization, so no arm?
# https://github.com/actions/runner-images/issues/9460
- run: limactl start default
- run: limactl start default --arch=x86_64
shell: bash
- run: echo "ENV_DOCKER=nerdctl.lima" >>"${GITHUB_ENV}"
shell: bash
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ jobs:

build-lnx-mac:
needs: [cache-submodule]
runs-on: macos-13
runs-on: macos-latest

steps:
- uses: actions/checkout@v4
Expand All @@ -363,7 +363,7 @@ jobs:
- uses: ./.github/actions/nerdctl
- run: env/setup-ndk.sh

- run: gmake -j3 -C srv-daemon target=lnx
- run: gmake -j3 -C srv-daemon target=lnx machine=x86_64

- uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 2f65a84

Please sign in to comment.