mirror of
https://github.com/containers/podman.git
synced 2025-07-15 03:02:52 +08:00
[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>
This commit is contained in:
@ -393,7 +393,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
|
||||||
|
4
Makefile
4
Makefile
@ -268,8 +268,10 @@ volume-plugin-test-img:
|
|||||||
test/goecho/goecho: $(wildcard test/goecho/*.go)
|
test/goecho/goecho: $(wildcard test/goecho/*.go)
|
||||||
$(GOCMD) build $(BUILDFLAGS) $(GO_LDFLAGS) '$(LDFLAGS_PODMAN)' -o $@ ./test/goecho
|
$(GOCMD) build $(BUILDFLAGS) $(GO_LDFLAGS) '$(LDFLAGS_PODMAN)' -o $@ ./test/goecho
|
||||||
|
|
||||||
|
# The ./test/version/version binary is executed in other make steps
|
||||||
|
# so we have to make sure the version binary is built for NATIVE_GOARCH.
|
||||||
test/version/version: version/version.go
|
test/version/version: version/version.go
|
||||||
$(GO) build -o $@ ./test/version/
|
GOARCH=$(NATIVE_GOARCH) $(GO) build -o $@ ./test/version/
|
||||||
|
|
||||||
.PHONY: codespell
|
.PHONY: codespell
|
||||||
codespell:
|
codespell:
|
||||||
|
Reference in New Issue
Block a user