From aeb1014d23c34d344f80550c5157950e52fc856f Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Mon, 2 Sep 2024 13:56:35 +0200 Subject: [PATCH] ci: test buildkitd build for macos Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com> --- .github/workflows/test-os.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.github/workflows/test-os.yml b/.github/workflows/test-os.yml index d60a90a072e3..10e921755f28 100644 --- a/.github/workflows/test-os.yml +++ b/.github/workflows/test-os.yml @@ -237,3 +237,27 @@ jobs: name: Dump context if: failure() uses: crazy-max/ghaction-dump-context@v2 + + test-darwin-amd64: + runs-on: ubuntu-24.04 + steps: + - + name: Checkout + uses: actions/checkout@v4 + - + name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + with: + version: ${{ env.SETUP_BUILDX_VERSION }} + driver-opts: image=${{ env.SETUP_BUILDKIT_IMAGE }} + buildkitd-flags: --debug + - + name: Build + uses: docker/bake-action@v5 + with: + provenance: false + targets: binaries + set: | + *.target=buildkitd + *.platform=darwin/amd64 + *.output=type=cacheonly