[CI:DOCS] Migrate OSX Cross to M1

Migrate our OSX Cross build to a M1 instance, since Cirrus is sunsetting Intel-based macOS instances.

Signed-off-by: Ashley Cui <acui@redhat.com>
(cherry picked from commit a575111ad4bcaa8c9ec4b0c4f7ecc5197e5be43f)
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
Ashley Cui
2022-11-21 14:13:31 -05:00
committed by Lokesh Mandvekar
parent 94d849894a
commit d6ea5b13f3
2 changed files with 5 additions and 3 deletions

View File

@ -347,7 +347,7 @@ osx_alt_build_task:
TEST_FLAVOR: "altbuild" TEST_FLAVOR: "altbuild"
ALT_NAME: 'OSX Cross' ALT_NAME: 'OSX Cross'
osx_instance: osx_instance:
image: 'big-sur-base' image: ghcr.io/cirruslabs/macos-ventura-base:latest
setup_script: setup_script:
- brew install go - brew install go
- brew install go-md2man - brew install go-md2man

View File

@ -277,8 +277,10 @@ volume-plugin-test-img:
test/goecho/goecho: .gopathok $(wildcard test/goecho/*.go) test/goecho/goecho: .gopathok $(wildcard test/goecho/*.go)
$(GOCMD) build $(BUILDFLAGS) $(GO_LDFLAGS) '$(LDFLAGS_PODMAN)' -o $@ ./test/goecho $(GOCMD) build $(BUILDFLAGS) $(GO_LDFLAGS) '$(LDFLAGS_PODMAN)' -o $@ ./test/goecho
test/version/version: .gopathok version/version.go # The ./test/version/version binary is executed in other make steps
$(GO) build -o $@ ./test/version/ # so we have to make sure the version binary is built for NATIVE_GOARCH.
test/version/version: version/version.go
GOARCH=$(NATIVE_GOARCH) $(GO) build -o $@ ./test/version/
.PHONY: codespell .PHONY: codespell
codespell: codespell: