Skip to content

Commit

Permalink
ci: test buildkitd build for macos
Browse files Browse the repository at this point in the history
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
  • Loading branch information
crazy-max committed Sep 2, 2024
1 parent 02bc795 commit e187bc8
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/test-os.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
platform:
- windows/amd64
- freebsd/amd64
- darwin/amd64
steps:
-
name: Prepare
Expand Down Expand Up @@ -237,3 +238,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

0 comments on commit e187bc8

Please sign in to comment.